Remove redundant error messages.
This commit is contained in:
parent
b047a3fd6f
commit
da641a6d3d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user