Commit f7e10aa
fix: Block social sign-on registration when registrations are disabled
When registration_enabled is set to false, new users could still
create accounts via social sign-on (Google, Facebook, etc.).
This fix adds a check in SocialController::findOrCreateProviderUser()
to reject new user creation when registrations are disabled, while
still allowing existing users to log in via social providers.1 parent 779cd91 commit f7e10aa
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| |||
0 commit comments