Explorar o código

finally debugged and added full auth

Плотников Роман Вячеславович %!s(int64=3) %!d(string=hai) anos
pai
achega
b5018a4ecb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');