diff options
author | Mateja <mail@matejamaric.com> | 2020-10-25 22:44:49 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-10-25 22:44:49 +0100 |
commit | 7fa171e30a497cfccfd3aa7dbcbb4c60d2e51db9 (patch) | |
tree | 8255f2e5259554d6f87ce08a957fdd4c47e31973 /app/Http | |
parent | dda8fb2a05de804f2b37245fde2580a9d18cc51b (diff) | |
download | yota-laravel-7fa171e30a497cfccfd3aa7dbcbb4c60d2e51db9.tar.gz yota-laravel-7fa171e30a497cfccfd3aa7dbcbb4c60d2e51db9.zip |
Work on activities and login page.
Diffstat (limited to 'app/Http')
-rw-r--r-- | app/Http/Controllers/PagesController.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 1e0866f..3955254 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -87,6 +87,21 @@ class PagesController extends Controller return redirect('reserve')->with('status', 'Reservation submitted.'); } + /** + * undocumented function + * + * @return void + */ + public function loginForm(Request $request) + { + $validatedData = $request->validate([ + 'email' => 'required|email', + 'password' => 'required', + ]); + return redirect('login')->with('status', 'Submitted.'); + } + + //public function services() //{ ////$title = 'Some title'; |