aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/Http/Controllers')
-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';