X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/1ee3e779e4b9b0a92f701a72f21a72c83cb1ce68..refs/pull/1667/head:/app/Http/Controllers/Auth/UserInviteController.php diff --git a/app/Http/Controllers/Auth/UserInviteController.php b/app/Http/Controllers/Auth/UserInviteController.php index cfeb69648..8799d264c 100644 --- a/app/Http/Controllers/Auth/UserInviteController.php +++ b/app/Http/Controllers/Auth/UserInviteController.php @@ -54,12 +54,12 @@ class UserInviteController extends Controller /** * Sets the password for an invited user and then grants them access. - * @param string $token * @param Request $request + * @param string $token * @return RedirectResponse|Redirector * @throws Exception */ - public function setPassword(string $token, Request $request) + public function setPassword(Request $request, string $token) { $this->validate($request, [ 'password' => 'required|min:8' @@ -102,5 +102,4 @@ class UserInviteController extends Controller throw $exception; } - }