update routes + surprise :P

This commit is contained in:
Malibu
2015-02-15 17:10:23 +01:00
parent 115005f2ca
commit e5cb54f8de
9 changed files with 87 additions and 14 deletions

View File

@ -71,9 +71,9 @@ class LoginController extends Controller {
switch ($response = Password::remind(Input::only('email')))
{
case Password::INVALID_USER:
return redirect('oublie')->withErrors($response)->withInput();
return redirect('forgotten')->withErrors($response)->withInput();
case Password::REMINDER_SENT:
return redirect('oublie')->withStatus($response)->withInput();
return redirect('forgotten')->withStatus($response)->withInput();
}
}