On Mon, Dec 28, 2009 at 10:00, David Schmidt <[email protected]> wrote:
> Hello
>
> When a user lost his password I send a digest by email.
> If he enters this digest I want to automatically authenticate the user
> so he can edit his password.

You can add another authentication realm to do what you need and then
either provide a separate form to enter the temporary password using
your new realm, or use a progressive realm to authenticate the user
against multiple realms in one call to the authenticate() method.

See the example in:
http://search.cpan.org/perldoc?Catalyst::Authentication::Realm::Progressive

Rafał Pocztarski

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to