diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index ada7aebb4..2929f7e4b 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -182,4 +182,14 @@ class LoginController extends Controller return redirect()->route('auth.login'); } } + + /** + * Get the login username to be used by the controller. + * + * @return string + */ + public function username() + { + return 'user'; + } }