Hello,
I've recently started diving into SmartFox and in the process of learning how this system works. At this point, I am attempting to set-up authentication via database which seems very straight forward. However, I am running into an issue where the checkSecurePassword function never validates a password. I have confirmed that the password value being sent from the client (Unity) is the same as the value contained in the database. The value is retrieved from the database as expected but when passed to the checkSecurePassword with the session object reference and encrypted password, they still don't validate. I'm stuck at this point.
checkSecurePassword not working?
Re: checkSecurePassword not working?
Hi,
I would recommend following this tutorial:
https://smartfoxserver.com/blog/custom- ... -database/
If you still have problems show us the code that is not working for you and any relevant errors (if any).
Cheers
I would recommend following this tutorial:
https://smartfoxserver.com/blog/custom- ... -database/
If you still have problems show us the code that is not working for you and any relevant errors (if any).
Cheers
Re: checkSecurePassword not working?
I got it figured out. I was simply a cadence problem on my end; apparently sending a login request before the connection request was completed. Thanks!
Re: checkSecurePassword not working?
Hi,
yes, you need to wait the SFSEvent.CONNECTION event before attempting to log in.
Cheers
yes, you need to wait the SFSEvent.CONNECTION event before attempting to log in.
Cheers
Who is online
Users browsing this forum: Baidu [Spider] and 71 guests