Skip to content

Commit

Permalink
More comments in patch
Browse files Browse the repository at this point in the history
  • Loading branch information
estellecomment committed Nov 23, 2022
1 parent bb0d0fc commit 3533f3d
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
diff --git a/node_modules/matrix-react-sdk/src/PasswordReset.ts b/node_modules/matrix-react-sdk/src/PasswordReset.ts
index df812ba..a92e1aa 100644
index df812ba..1020aff 100644
--- a/node_modules/matrix-react-sdk/src/PasswordReset.ts
+++ b/node_modules/matrix-react-sdk/src/PasswordReset.ts
@@ -42,6 +42,11 @@ export default class PasswordReset {
@@ -42,6 +42,12 @@ export default class PasswordReset {
this.client = createClient({
baseUrl: homeserverUrl,
idBaseUrl: identityUrl,
+ //:tchap: specify useAuthorization header to false to avoid this bug :
+ //https://github.com/tchapgouv/tchap-web-v4/issues/311
+ //very strange this regression
+ //if we do not set it to false, a Authorization Bearer token undefined is sent to the server
+ // :TCHAP: specify useAuthorization header to false to avoid this bug :
+ // https://github.com/tchapgouv/tchap-web-v4/issues/311
+ // if we do not set it to false, a Authorization Bearer token undefined is sent to the server, which refuses the invalid token.
+ // Regression introduced by element-web 1.11.12, solved by upgrading to 1.11.13.
+ useAuthorizationHeader: false
+ // end :TCHAP:
});
this.clientSecret = this.client.generateClientSecret();
}

0 comments on commit 3533f3d

Please sign in to comment.