Signup / Login with MD5
Posted: 27 Nov 2014, 11:53
I would like to use the PasswordMode.MD5 so i set it up as follow on the server side :
and for password recovery :
For testing i send the password recovery request from the client and received a new password, i also see a new encrypted password in the BDD. Then i try to login with this new password but i always get an error telling me the password is wrong. Here is my login request :
I also tried without the "PasswordUtil.MD5Password" both does not let me login.
I guess i'm doing something wrong i missed something in the setup but i can't find ?
Thanks!
Code: Select all
suac.getConfig().passwordMode = PasswordMode.MD5;Code: Select all
suac.getConfig().passwordRecovery.mode = RecoveryMode.GENERATE_NEW;For testing i send the password recovery request from the client and received a new password, i also see a new encrypted password in the BDD. Then i try to login with this new password but i always get an error telling me the password is wrong. Here is my login request :
Code: Select all
smartFox.Send(new Sfs2X.Requests.LoginRequest(vm.username, PasswordUtil.MD5Password(vm.password), "MyZone"));I guess i'm doing something wrong i missed something in the setup but i can't find ?
Thanks!