improve login and add migration script
This commit is contained in:
parent
1fce467571
commit
099ffb74a1
5 changed files with 106 additions and 9 deletions
9
src/dtos/LoginResponseDto.ts
Normal file
9
src/dtos/LoginResponseDto.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { UserDto } from "./UserDto";
|
||||
|
||||
/**
|
||||
* Response to a successful login
|
||||
*/
|
||||
export class LoginResponseDto {
|
||||
userData: UserDto;
|
||||
token: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue