From 481177cef36db8b25a5d7f97fcdf2777f3e7a2ca Mon Sep 17 00:00:00 2001 From: ttimot24 Date: Mon, 4 Nov 2024 22:29:14 +0100 Subject: [PATCH] #94 - Revert login branch modifications --- app/Controllers/Auth/LoginController.php | 2 +- app/View/auth/login2.blade.php | 76 ------------------------ 2 files changed, 1 insertion(+), 77 deletions(-) delete mode 100644 app/View/auth/login2.blade.php diff --git a/app/Controllers/Auth/LoginController.php b/app/Controllers/Auth/LoginController.php index 47c929fa..ff93f1eb 100644 --- a/app/Controllers/Auth/LoginController.php +++ b/app/Controllers/Auth/LoginController.php @@ -48,7 +48,7 @@ public function redirectTo() public function username() { - return 'email'; + return 'username'; } diff --git a/app/View/auth/login2.blade.php b/app/View/auth/login2.blade.php deleted file mode 100644 index d01ac76a..00000000 --- a/app/View/auth/login2.blade.php +++ /dev/null @@ -1,76 +0,0 @@ -@extends('layout', [ - 'title' => 'Welcome' -]) - -
-
-
-
-
-

Welcome!

-  -

-
-
-
-
-
-
-
-
-
-

Log in

-
-
-
-
- @csrf -
-
- - - @error('username') - - {{ $errors->first('username') }} - - @enderror -
-
- - - @error('password') - - {{ $errors->first('password') }} - - @enderror -
-
-
- - -
-
-
-
- -
-
-
-
-
-
-
- -
-
-
-
-
-
-
\ No newline at end of file