Password Reset Validation, Removal of unnessary files, Service display updates

This commit is contained in:
Deon George
2013-06-06 00:03:55 +10:00
parent 0efd99f194
commit 66ea9babf4
12 changed files with 94 additions and 163 deletions

View File

@@ -40,7 +40,7 @@ class Controller_Login extends lnApp_Controller_Login {
// If the username is correct, create a method token
if (! empty($_POST['username']) AND ($ao=ORM::factory('Account',array('username'=>$_POST['username']))) AND $ao->loaded()) {
$mmto = ORM::factory('Module_Method_Token')
->method(array('account','user_resetpassword'))
->method(array('account','user:resetpassword'))
->account($ao)
->uses(2)
->expire(time()+$token_expire*60);