angularjs - Password Hash on PHP Server always looks the same -
i've been provided php api ends project, i've faced weird issue, here how looks :
i have set_customer api, when send request postman register user : 1 - success response ( registration ), 2 - when login loaded username , password, login successful.
now when send request same api angularjs service, 1 - still success response ( registration ) ok, 2 - when try login same credentials time login fails.
i have logged data i'm sending , receiving, username , password, request payload , input data, seem correct. both when i'm registering , when i'm logging in.
the weird thing in nutshell when register user postman, can login afterwards if register same user via $http call, can't login anymore!
p.s. looked @ database , every time register using angular $http hash same. if input different passwords.
anyone possible solution ?! assumption appreciated !
Comments
Post a Comment