Skip to content

Commit

Permalink
hotfix: token alphabet should not contain +
Browse files Browse the repository at this point in the history
  • Loading branch information
lynzrand committed Oct 4, 2020
1 parent c7cc61f commit 227ff76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coordinator/Services/AccountService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public async ValueTask<EditPasswordResult> EditPassword(
}

const int TOKEN_LENGTH = 32;
static readonly char[] TOKEN_ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_+-.".ToCharArray();
static readonly char[] TOKEN_ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-.=".ToCharArray();


public string GenerateToken() {
Expand Down

0 comments on commit 227ff76

Please sign in to comment.