ruby on rails - Password contains special characters not saved correctly -
update: fixed setting config.pepper in devise.rb
i use rails 4 , devise 3.4.1 . built api register , authenticate user. clients use api emberjs web app, ios app , android app, post man chrome app development.
if registered user password contains special characters post man user registered , log in successfully. when register user other clients user registered can't log in again.
i checked following points:
1- checked request headers , same clients. (true)
2- used rails debugger ensure server received password correctly.(true)
3- have 3 environments development, staging, production. problem exist in staging , production works @ development.
Comments
Post a Comment