Add DiscordAppealMapper to initialization and simplify username reload logic in auth service.

This commit is contained in:
2025-11-23 04:44:26 +01:00
parent 2baa3ef51f
commit b15386d157
2 changed files with 3 additions and 3 deletions
+1 -3
View File
@@ -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();