[feature-proposal] Forgot password improvements

Rodrigo Souto rodrigo at colivre.coop.br
Wed Nov 6 18:22:27 BRST 2013


Antonio Terceiro escreveu isso ai:
> 
> only if the password recovery is not adjusted to avoid doing such a stupid thing
> 
> something like this should be enough:
> 
> users = User.find_by_whatever_criteria
> users.each do |user|
>   user.send_password_recovery_email
> end
> 
> i.e. each user would receive password recovery instructions that are
> _specific_ to their own account, instead of sending the same password
> recovery instructions for different users.

That already happens Terceiro, it's just a blunder of mine.


-- 
Rodrigo Souto <rodrigo at colivre.coop.br> :: 55 71 8131-7714
Colivre - Cooperativa de Tecnologias Livres
http://www.colivre.coop.br/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20131106/cf5e152e/attachment.pgp>


More information about the Noosfero-dev mailing list