On my reading of the Warden documentation, 'confirmation' and 'forgot password' are largely outside the scope of Warden. Here is how to approach implementing confirmation as an example.
- Add
confirm
andconfirmed?
methods to yourUser
class. - Add a
:unconfirmed
scope to warden. This will be used to allow access to your confirmation page when logged in, but not confirmed. - In your Warden
authenticate!
method, check both theUser
s authentication as well as theconfirmed?
method. - Add a system for sending confirmation emails on new messages.