#84 - fix remembering user #89

Merged
Baakoma merged 10 commits from #84-fix-remembering-user into main 2022-03-21 14:36:18 +01:00
Showing only changes of commit 8f9e006eac - Show all commits

View File

@@ -13,6 +13,10 @@ class UserObserver
{
public function creating(User $user): void
{
/**
* A random password for user is generated because AuthenticateSession middleware needs a user's password
* for some checks. Users use Google to login, so they don't need to know the password (GitHub issue #84)
*/
$user->password = Hash::make(Str::random(40));
}