diff --git a/src/components/views/auth/RegistrationForm.js b/src/components/views/auth/RegistrationForm.js index f1624bc9e5..2a79bb8588 100644 --- a/src/components/views/auth/RegistrationForm.js +++ b/src/components/views/auth/RegistrationForm.js @@ -76,7 +76,7 @@ export default createReactClass({ email: this.props.defaultEmail || "", phoneNumber: this.props.defaultPhoneNumber || "", password: this.props.defaultPassword || "", - passwordConfirm: "", + passwordConfirm: this.props.defaultPassword || "", passwordComplexity: null, passwordSafe: false, }; diff --git a/src/stores/RightPanelStore.js b/src/stores/RightPanelStore.js index 8869d0be42..3a5605ba3f 100644 --- a/src/stores/RightPanelStore.js +++ b/src/stores/RightPanelStore.js @@ -139,7 +139,7 @@ export default class RightPanelStore extends Store { let targetPhase = payload.phase; let refireParams = payload.refireParams; // redirect to EncryptionPanel if there is an ongoing verification request - if (targetPhase === RIGHT_PANEL_PHASES.RoomMemberInfo) { + if (targetPhase === RIGHT_PANEL_PHASES.RoomMemberInfo && payload.refireParams) { const {member} = payload.refireParams; const pendingRequest = pendingVerificationRequestForUser(member); if (pendingRequest) {