Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.

Make sure that passwordChangeResponse exists, else bail out #599

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
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
2 changes: 1 addition & 1 deletion assembl/static2/js/app/pages/requestPasswordChange.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class DumbRequestPasswordChange extends React.Component<Props> {
<Grid fluid className="login-container">
<Row className="max-container center">
<Col xs={12} md={6} className="col-centered">
{passwordChangeResponse.success ? (
{passwordChangeResponse && passwordChangeResponse.success ? (
<SendPwdConfirm />
) : (
<RequestNewPasswordForm
Expand Down