mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-18 01:01:19 +00:00
Finished testing user controller
This commit is contained in:
@@ -75,9 +75,11 @@ class UserController extends BaseController
|
||||
if ($user) {
|
||||
if (Config::get('auth.verify_reset') === true) {
|
||||
$this->email->sendResetVerification($user);
|
||||
return View::make('user.verification-pending');
|
||||
}
|
||||
if (Config::get('auth.verify_reset') === false) {
|
||||
$this->email->sendPasswordMail($user);
|
||||
return View::make('user.registered');
|
||||
}
|
||||
}
|
||||
Session::flash('error', 'No good!');
|
||||
|
||||
Reference in New Issue
Block a user