yemeishu 2 сар өмнө
parent
commit
88c0a442f1

+ 1 - 1
app/Models/User.php

@@ -93,7 +93,7 @@ class User extends Authenticatable implements FilamentUser, HasName
      */
      */
     public function getAuthPassword(): string
     public function getAuthPassword(): string
     {
     {
-        return $this->password_hash;
+        return (string) ($this->password_hash ?? $this->password ?? '');
     }
     }
 
 
     /**
     /**