Manual:Hooks/EmailConfirmed

== Details ==

When checking that the user's email address is "confirmed" using an alternative method:

* $user: User information
 * $confirmed: To be set by the hooked function. true for confirmed, false otherwise.

This runs before the other checks, such as anonymity and the real check; return true to allow those checks to occur, and false if checking is done.

By default, the address is considered confirmed if it is set and valid, and either the user has clicked on the link in an address confirmation email, or  is false.

== See also == *
 * $wgEmailAuthentication
 * $wgEmailAuthentication