feat(back+front): user roles expanded + frontend styling

This commit is contained in:
2024-07-28 14:34:54 +02:00
parent 75e1fe4c65
commit c20d621e2f
38 changed files with 229 additions and 52 deletions

View File

@@ -25,6 +25,7 @@ export class AuthService {
sub: user.id,
username: user.username,
roles: user.roles,
picture: user.picture,
};
return { access_token: await this.jwtService.signAsync(payload) };