diff options
author | Anike Arni <anikarni@gmail.com> | 2017-03-28 18:06:21 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-28 18:06:21 -0300 |
commit | 9f0b66ae8fa5daac158f7c74919c0636882a550f (patch) | |
tree | 19b0142ab4b11f3b9c26ebef61a4b9a6f23f7924 /web-ui/src/account_recovery/page.js | |
parent | 444b39959ad1c34fb9eb91def835d9e695710374 (diff) | |
parent | d133b2876e49bdb285c8e8f1bdf64502d8bf9a02 (diff) |
Merge pull request #1030 from pixelated/forgot-password-page
Add user code and password steps to recovery flow
Diffstat (limited to 'web-ui/src/account_recovery/page.js')
-rw-r--r-- | web-ui/src/account_recovery/page.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web-ui/src/account_recovery/page.js b/web-ui/src/account_recovery/page.js index 93781729..f867fcd5 100644 --- a/web-ui/src/account_recovery/page.js +++ b/web-ui/src/account_recovery/page.js @@ -21,6 +21,7 @@ import DocumentTitle from 'react-document-title'; import Header from 'src/common/header/header'; import AdminRecoveryCodeForm from 'src/account_recovery/forms/admin_recovery_code_form'; import UserRecoveryCodeForm from 'src/account_recovery/forms/user_recovery_code_form'; +import NewPasswordForm from 'src/account_recovery/forms/new_password_form'; import Footer from 'src/common/footer/footer'; import 'font-awesome/scss/font-awesome.scss'; @@ -41,7 +42,8 @@ export class Page extends React.Component { steps = { 0: <AdminRecoveryCodeForm next={this.nextStep} />, - 1: <UserRecoveryCodeForm /> + 1: <UserRecoveryCodeForm next={this.nextStep} />, + 2: <NewPasswordForm /> } mainContent = () => this.steps[this.state.step]; |