lundi 29 juin 2015

Devise two user models password reset

I'm using devise with two user models - an Employee model and Employer Model.

I'm having issues trying to get the password reset link to work with both models. Currently devise wildly send the password reset link to the users that belong to the Employee model and will not find users the belong to the Employer model.

Any suggestions on how to configure devise to work with both Models.

Aucun commentaire:

Enregistrer un commentaire