mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Send correct payload to auth provider for oauth (#8389)
This commit is contained in:
@@ -295,7 +295,7 @@ router.get(
|
||||
|
||||
// Workaround to use the default local auth provider to validate
|
||||
// the email and login without a password.
|
||||
authResponse = await authenticationService.login(undefined, { identifier: email });
|
||||
authResponse = await authenticationService.login(DEFAULT_AUTH_PROVIDER, { email });
|
||||
} catch (error: any) {
|
||||
emitStatus('fail');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user