1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-27 06:01:54 +03:00

Merge fixes from branch 'v0.12'

This commit is contained in:
Dan Brown
2016-11-12 11:40:54 +00:00
13 changed files with 115 additions and 6 deletions

View File

@ -20,6 +20,8 @@ class ResetPasswordController extends Controller
use ResetsPasswords;
protected $redirectTo = '/';
/**
* Create a new controller instance.
*
@ -30,4 +32,18 @@ class ResetPasswordController extends Controller
$this->middleware('guest');
parent::__construct();
}
/**
* Get the response for a successful password reset.
*
* @param string $response
* @return \Illuminate\Http\Response
*/
protected function sendResetResponse($response)
{
$message = 'Your password has been successfully reset.';
session()->flash('success', $message);
return redirect($this->redirectPath())
->with('status', trans($response));
}
}