#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
Baakoma commented 2022-03-21 13:43:07 +01:00 (Migrated from github.com)

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.

Fixes #84

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. Fixes #84
krzysztofrewak (Migrated from github.com) requested changes 2022-03-21 14:27:33 +01:00
krzysztofrewak (Migrated from github.com) commented 2022-03-21 14:27:22 +01:00

You've added hasher here, but it's not used.

You've added hasher here, but it's not used.
krzysztofrewak (Migrated from github.com) reviewed 2022-03-21 14:27:56 +01:00
krzysztofrewak (Migrated from github.com) commented 2022-03-21 14:27:56 +01:00
    public function callback(AuthFactory $auth, SocialiteManager $socialiteManager): RedirectResponse
```suggestion public function callback(AuthFactory $auth, SocialiteManager $socialiteManager): RedirectResponse ```
krzysztofrewak (Migrated from github.com) requested changes 2022-03-21 14:28:31 +01:00
krzysztofrewak (Migrated from github.com) commented 2022-03-21 14:28:26 +01:00
```suggestion ```
krzysztofrewak (Migrated from github.com) reviewed 2022-03-21 14:30:38 +01:00
krzysztofrewak (Migrated from github.com) commented 2022-03-21 14:30:34 +01:00

Btw. you can inject Hasher into observer's constructor.

Btw. you can inject Hasher into observer's constructor.
krzysztofrewak (Migrated from github.com) approved these changes 2022-03-21 14:36:03 +01:00
Sign in to join this conversation.