mercredi 15 juin 2016

Ruby on Rails - devise gem - How to retrieve decrypted password (plain text) from users table

Is there any way we can retrieve the password from users table. I am using ruby gem devise for authentication in my rails application.

The use case is, I need to send the users with passwords to client application (Desktop), so that the authentication can happen locally as well (In case there is no internet, then still user would be authenticated in client application and would be able to use the application).

Aucun commentaire:

Enregistrer un commentaire