diff --git a/SRC/app/Http/Controllers/LoginController.php b/SRC/app/Http/Controllers/LoginController.php index b39f97a..6fcc2ce 100755 --- a/SRC/app/Http/Controllers/LoginController.php +++ b/SRC/app/Http/Controllers/LoginController.php @@ -85,7 +85,7 @@ class LoginController extends Controller { public function update($token) { - $credentials = array('token' => Input::get('token'), 'password' => Input::get('password'), 'password_confirmation' => Input::get('password_confirmation')); + $credentials = Input::only('email', 'password','password_confirmation','token'); $response = Password::reset($credentials, function($user, $password) { $user->password = Hash::make($password); diff --git a/SRC/resources/views/auth/reset.blade.php b/SRC/resources/views/auth/reset.blade.php index 4a15549..2121807 100755 --- a/SRC/resources/views/auth/reset.blade.php +++ b/SRC/resources/views/auth/reset.blade.php @@ -21,6 +21,13 @@
+ +
+ +
+ +
+