Remove redundant error messages.

master
Philippe Pittoli 2023-06-14 03:25:19 +02:00
parent b047a3fd6f
commit da641a6d3d
1 changed files with 2 additions and 8 deletions

View File

@ -60,11 +60,11 @@ class AuthD::Response
end
AuthD.responses << ErrorInvalidEmailFormat
IPC::JSON.message ErrorInvalidCredentials, 29 do
IPC::JSON.message ErrorAlreadyUsersInDB, 29 do
def initialize()
end
end
AuthD.responses << ErrorInvalidCredentials
AuthD.responses << ErrorAlreadyUsersInDB
IPC::JSON.message ErrorReadOnlyProfileKeys, 30 do
property read_only_keys : Array(String)
@ -96,10 +96,4 @@ class AuthD::Response
end
end
AuthD.responses << ErrorInvalidRenewKey
IPC::JSON.message ErrorAlreadyUsersInDB, 35 do
def initialize()
end
end
AuthD.responses << ErrorAlreadyUsersInDB
end