mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-15 09:42:47 +02:00
store hashed token base64 encoded
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user