Set password as default authentication method on error

This commit is contained in:
Giuseppe Digilio
2020-02-07 14:12:14 +01:00
parent 03c1b689f8
commit 573a9b8de3
3 changed files with 9 additions and 2 deletions

View File

@@ -469,7 +469,7 @@ describe('authReducer', () => {
authenticated: false,
loaded: false,
loading: false,
authMethods: []
authMethods: [new AuthMethod(AuthMethodType.Password)]
};
expect(newState).toEqual(state);
});