store hashed token base64 encoded

This commit is contained in:
Pascal Fischer
2023-03-29 15:21:53 +02:00
parent 726ffb5740
commit c5942e6b33
6 changed files with 43 additions and 22 deletions

View File

@ -37,7 +37,7 @@ func TestUser_AddPATToUser(t *testing.T) {
}
fileStore := am.Store.(*FileStore)
tokenID := fileStore.HashedPAT2TokenID[mockToken[:]]
tokenID := fileStore.HashedPAT2TokenID[mockToken]
if tokenID == "" {
t.Fatal("GetTokenIDByHashedToken failed after adding PAT")