GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Fixes parsing of the jwt -> privateKey before the necessary routes

parent c9ec38f3
......@@ -65,6 +65,6 @@ export class AuthService {
}
public static decodeLoginToken(token: string): string {
return token.match(/bearer /i) ? (this.decodeToken(token.substr(7)) as any).privateKey : null;
return token.match(/bearer /i) ? (this.decodeToken(token.substr(7)) as any).privateKey : token;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment