mirror of
https://github.com/flarum/core.git
synced 2025-06-21 02:12:26 +02:00
Improve external authentication API
Some providers (e.g. Twitter) don't expose user email addresses, so it turns out we can't use that as the sole form of identification/account matching. This commit introduces a new `auth_tokens` table which stores arbitrary attributes during the sign up process. For example, when Twitter is authenticated, a new auth token containing the user's Twitter ID will be created. When sign up is completed with this token, that Twitter ID will be set as an attribute on the user's account.
This commit is contained in:
@ -13,8 +13,8 @@ export default class LogInButton extends Button {
|
||||
props.className = (props.className || '') + ' LogInButton';
|
||||
|
||||
props.onclick = function() {
|
||||
const width = 620;
|
||||
const height = 400;
|
||||
const width = 1000;
|
||||
const height = 500;
|
||||
const $window = $(window);
|
||||
|
||||
window.open(app.forum.attribute('baseUrl') + props.path, 'logInPopup',
|
||||
|
Reference in New Issue
Block a user