accounts-frontend/src/services/authFlow/ForgotPasswordState.js
2016-03-01 22:36:49 +02:00

17 lines
370 B
JavaScript

import AbstractState from './AbstractState';
import LoginState from './LoginState';
export default class ForgotPasswordState extends AbstractState {
enter(context) {
context.navigate('/forgot-password');
}
goBack(context) {
context.setState(new LoginState());
}
reject(context) {
context.navigate('/send-message');
}
}