#245: add register link to account chooser auth panel

This commit is contained in:
SleepWalker
2017-01-31 08:05:36 +02:00
parent b2202f8831
commit a685813934
11 changed files with 77 additions and 43 deletions

View File

@@ -24,11 +24,7 @@ export default class PasswordState extends AbstractState {
rememberMe,
login
})
.then(() => {
context.run('setAccountSwitcher', false);
context.setState(new CompleteState());
})
.then(() => context.setState(new CompleteState()))
.catch((err = {}) => err.errors || logger.warn(err));
}