I want to allow an user to access some site areas only if he activates his account (email confirmation, etc).
I want to allow him to login, but if he didn't activates his account (I have a user.confirmed
property) I want to redirect him to a page that reminds him to confirm his account.
How can I do that? I can not place an if
in each controller method to check that.