Add DiscordAppealMapper to initialization and simplify username reload logic in auth service.
This commit is contained in:
1 parent
2baa3ef51f
commit
b15386d157
2 files changed
+3
-3
No files matched your search
@@ -87,9 +87,7 @@ export class AuthService {
|
||||
const claims = this.extractJwtClaims(jwt);
|
||||
this.userClaimsSubject.set(claims);
|
||||
this.isAuthenticatedSubject.set(true);
|
||||
if (this.username() == null) {
|
||||
this.reloadUsername();
|
||||
}
|
||||
this.reloadUsername();
|
||||
return true;
|
||||
} catch (e) {
|
||||
this.logout();
|
||||
|
||||
Reference in new issue
Block a user