public function validateCredentials(Authenticatable $user, array $credentials) { $password = $user->getAuthPassword(); if (password_verify($credentials['password'], $password)) { return true; } // 不正なパスワード return false; }