mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 07:34:54 +00:00
Add user active check and improve error handling in auth services
This commit is contained in:
@ -151,7 +151,7 @@ export class UserAuthService {
|
||||
});
|
||||
return res;
|
||||
} catch (error) {
|
||||
throw new BadRequestException('Invalid credentials');
|
||||
throw new BadRequestException(error.message || 'Invalid credentials');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user