fix: clean auth hashing and login message
This commit is contained in:
@@ -42,8 +42,8 @@ class UserLoginStartCommand:
|
||||
|
||||
exists = await self._unit_of_work.user_repository.exists_by_email(email)
|
||||
if not exists:
|
||||
self._logger.info(f'Login failed: email already registered ({email})')
|
||||
raise ApplicationException(404, 'Email registered')
|
||||
self._logger.info(f'Login failed: email not registered ({email})')
|
||||
raise ApplicationException(404, 'Email not registered')
|
||||
|
||||
trace_id = trace_id_var.get()
|
||||
if not trace_id or trace_id == 'N/A':
|
||||
|
||||
Reference in New Issue
Block a user