mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Auth tokens back to simple strings as private key used for token refresh which not doing
This commit is contained in:
@@ -15,7 +15,7 @@ export class InMemoryMusicService implements MusicService {
|
||||
password != undefined &&
|
||||
this.users[username] == password
|
||||
) {
|
||||
return { authToken: { value: "token123", version: "1" }, userId: username, nickname: username };
|
||||
return { authToken: "v1:token123", userId: username, nickname: username };
|
||||
} else {
|
||||
return { message: `Invalid user:${username}` };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user