Added the ability for a user to change his email address.

The change is not performed immediately. First a confirmation email is
sent to the user and if validated, the email address is changed.
This commit is contained in:
Loic d'Anterroches
2009-01-29 18:44:39 +01:00
parent 1307c97ff3
commit 766acd01f4
7 changed files with 260 additions and 2 deletions

View File

@@ -473,6 +473,19 @@ $ctl[] = array('regex' => '#^/password/k/(.*)/$#',
'model' => 'IDF_Views',
'method' => 'passwordRecovery');
$ctl[] = array('regex' => '#^/preferences/email/ik/$#',
'base' => $base,
'priority' => 4,
'model' => 'IDF_Views_User',
'method' => 'changeEmailInputKey');
$ctl[] = array('regex' => '#^/preferences/email/ak/(.*)/$#',
'base' => $base,
'priority' => 4,
'model' => 'IDF_Views_User',
'method' => 'changeEmailDo');
return $ctl;