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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -