aboutsummaryrefslogtreecommitdiff
path: root/app/Http
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-25 22:44:49 +0100
committerMateja <mail@matejamaric.com>2020-10-25 22:44:49 +0100
commit7fa171e30a497cfccfd3aa7dbcbb4c60d2e51db9 (patch)
tree8255f2e5259554d6f87ce08a957fdd4c47e31973 /app/Http
parentdda8fb2a05de804f2b37245fde2580a9d18cc51b (diff)
downloadyota-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.php15
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';