mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:03:38 +08:00

The change introduced in #1033 transformed any identification attribute returned from an OAuth provider to just a default value. When the identification attribute used by the provider is the email or username, this allowed the user to supply a different email or username and still getting an already-enabled account with the credentials he entered. Skipping attributes with an existing value makes no sense here because it's a always a fresh user and values from AbstractOAuth2Controller::getIdentification() should always be enforced.
Description
Simple forum software for building great communities.
199 MiB
Languages
PHP
60.7%
TypeScript
26%
JavaScript
7.9%
Less
4.4%
Blade
0.8%
Other
0.2%