mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Add E2E tests for device code grant flow.
Handle more errors for device code. Dispatch a BSOD for an any unhandled exception from auth flow state
This commit is contained in:
@@ -30,7 +30,7 @@ export default class LoginState extends AbstractState {
|
||||
login: string;
|
||||
},
|
||||
): Promise<void> | void {
|
||||
context
|
||||
return context
|
||||
.run('login', payload)
|
||||
.then(() => context.setState(new PasswordState()))
|
||||
.catch((err = {}) => err.errors || logger.warn('Error validating login', err));
|
||||
|
Reference in New Issue
Block a user