feat: enhance authentication flow with device info and optional POS flag in login DTO
This commit is contained in:
@@ -7,7 +7,10 @@ export class ApplicationAuthService {
|
||||
constructor(private readonly authService: AuthService) {}
|
||||
|
||||
async login(data: applicationLoginDto) {
|
||||
const loginResponse = await this.authService.login(data, true)
|
||||
const loginResponse = await this.authService.login(data, true, {
|
||||
id: data.device_id,
|
||||
name: data.device_name,
|
||||
})
|
||||
|
||||
return loginResponse
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user