Added login_log and overdue_reminders
This commit is contained in:
@@ -34,6 +34,10 @@ class Controller_User_Account extends Controller_TemplateDefault_User {
|
||||
));
|
||||
|
||||
$this->ao->save();
|
||||
|
||||
// Log the password reset
|
||||
$this->ao->log('Password reset');
|
||||
|
||||
Request::current()->redirect('login');
|
||||
|
||||
} else {
|
||||
@@ -50,6 +54,12 @@ class Controller_User_Account extends Controller_TemplateDefault_User {
|
||||
'body'=>_('Your updates didnt pass validation.').'<br/>'.$output,
|
||||
));
|
||||
}
|
||||
else
|
||||
SystemMessage::add(array(
|
||||
'title'=>_('Record NOT updated'),
|
||||
'type'=>'info',
|
||||
'body'=>_('Your account has NOT been updated.')
|
||||
));
|
||||
|
||||
Block::add(array(
|
||||
'title'=>_('Password Reset'),
|
||||
|
Reference in New Issue
Block a user