Browse Source

Update Auth page

Visman 3 years ago
parent
commit
41922c27b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/Pages/Auth.php

+ 1 - 1
app/Models/Pages/Auth.php

@@ -178,7 +178,7 @@ class Auth extends Page
     /**
      * Проверка пользователя по базе
      */
-    public function vLoginCheck(Validator $v, $password)
+    public function vLoginCheck(Validator $v, string $password): string
     {
         if (empty($v->getErrors())) {
             $this->userAfterLogin = $this->c->users->loadByName($v->username);