Fix login/logout flow

This commit is contained in:
Chocobozzz
2019-01-18 14:47:10 +01:00
parent 80c6351d2f
commit cbdcdd005d
15 changed files with 307 additions and 1331 deletions

View File

@@ -0,0 +1,4 @@
export interface ICurrentUser {
id: number,
email: string,
}

View File

@@ -1,7 +1,7 @@
import { ICurrentUser } from '@/types/current-user.model';
export interface ILogin {
user: {
id: number,
},
user: ICurrentUser,
token: string,
}