Use base64url encoding for encrypted username
This commit is contained in:
parent
f77f9165e1
commit
09fc0d690b
4 changed files with 10 additions and 2 deletions
|
@ -115,7 +115,7 @@ export const getUsernameLink = createSelector(
|
|||
const content = Bytes.concatenate([entropy, serverId]);
|
||||
|
||||
return contactByEncryptedUsernameRoute
|
||||
.toWebUrl({ encryptedUsername: Bytes.toBase64(content) })
|
||||
.toWebUrl({ encryptedUsername: Bytes.toBase64url(content) })
|
||||
.toString();
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue