Clark Winkelmann 31b925164c Always apply attributes from token when registering
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.
2018-01-06 20:04:42 +10:30
..
2016-09-24 17:09:09 +02:00
2017-07-22 12:31:23 +09:30
2015-10-22 12:25:22 +10:30
2016-11-29 05:03:53 +00:00
2016-11-16 15:47:12 +10:30
2017-02-03 21:53:20 +01:00
2017-01-01 22:41:35 +01:00
2015-11-01 16:00:25 +10:30

Flarum Core

This repository contains Flarum's core code. If you want to set up a forum, visit the main Flarum repository.

Contributing

Flarum is open-source and we would love your help building it! Please read the Contributing Guide to learn how you can help.