Skip to content
Snippets Groups Projects

#40 Include user in auth response

Merged Martin Kaller requested to merge 40-include-user-in-auth-response into main
2 files
+ 2
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -48,6 +48,7 @@ export class UserController extends Controller {
const token = JwtService.encode(user);
return {
jwt: token,
user: mapUserToDTO(user),
};
}
@@ -120,6 +121,7 @@ interface SignedInRequestDTO {
interface SignedInResponseDTO {
jwt: string;
user: UserDTO;
}
interface MyUserResponseDTO {
Loading