Browse Source

finally debugged and added full auth

Плотников Роман Вячеславович 3 years ago
parent
commit
b5018a4ecb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Controller/Site.php

+ 1 - 1
app/Controller/Site.php

@@ -21,7 +21,7 @@ class Site
         return new View('site.hello', ['message' => 'hello working']);
     }
 
-    public function signup(Request $request)
+    public function signup(Request $request): string
     {
         if ($request->method === "POST" && User::create($request->all())) {
             app()->route->redirect('/hello');