Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
Remove the bind true flag from 3PID calls on registration (#3252)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty authored and BillCarsonFr committed Sep 24, 2019
1 parent b1b4b24 commit 33d957e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Expand Up @@ -14,7 +14,7 @@ Improvements:
-

Other changes:
-
- Remove the bind true flag from 3PID calls on registration (#3252)

Bugfix:
- Fix reset password broken UI (#3125)
Expand Down
4 changes: 1 addition & 3 deletions vector/src/main/java/im/vector/RegistrationManager.java
Expand Up @@ -353,8 +353,6 @@ public void onThreePidRequestFailed(String errorMessage) {
if (mPassword != null) {
params.password = mPassword;
}
params.bind_email = mEmail != null;
params.bind_msisdn = mPhoneNumber != null;
}

if (authParams != null) {
Expand Down Expand Up @@ -430,7 +428,7 @@ public void registerAfterEmailValidation(final Context context,

registrationParams.auth.session = aSessionId;

// Note: username, password and bind_email must not be set in registrationParams
// Note: username, password must not be set in registrationParams
mUsername = null;
mPassword = null;
clearThreePid();
Expand Down

0 comments on commit 33d957e

Please sign in to comment.