mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
chore: added await to _additionalFindUserOnExternalLogin
This commit is contained in:
@@ -1335,7 +1335,7 @@ export class AccountsServer extends AccountsCommon {
|
||||
// Check to see if the developer has a custom way to find the user outside
|
||||
// of the general selectors above.
|
||||
if (!user && this._additionalFindUserOnExternalLogin) {
|
||||
user = this._additionalFindUserOnExternalLogin({serviceName, serviceData, options})
|
||||
user = await this._additionalFindUserOnExternalLogin({serviceName, serviceData, options})
|
||||
}
|
||||
|
||||
// Before continuing, run user hook to see if we should continue
|
||||
|
||||
Reference in New Issue
Block a user