Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions _chapters/handle-forgot-and-reset-password.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,11 @@ export default class ResetPassword extends Component {
type="submit"
bsSize="large"
loadingText="Sending…"
text="Send Confirmation"
isLoading={this.state.isSendingCode}
disabled={!this.validateCodeForm()}
/>
Send Confirmation
</LoaderButton>
</form>
);
}
Expand Down Expand Up @@ -162,11 +163,12 @@ export default class ResetPassword extends Component {
block
type="submit"
bsSize="large"
text="Confirm"
loadingText="Confirm…"
isLoading={this.state.isConfirming}
disabled={!this.validateResetForm()}
/>
Confirm
</LoaderButton>
</form>
);
}
Expand Down Expand Up @@ -246,12 +248,7 @@ Finally, let's link this up with the rest of our app.
<img class="code-marker" src="/assets/s.png" />Add the route to `src/Routes.js`.

``` html
<UnauthenticatedRoute
path="/login/reset"
exact
component={ResetPassword}
props={childProps}
/>
<UnauthenticatedRoute path="/login/reset" exact component={ResetPassword} appProps={appProps} />
```

<img class="code-marker" src="/assets/s.png" />And import it in the header.
Expand Down