Provide the validated email address once validated.
This commit is contained in:
parent
1f929cdab6
commit
0ab0a675fb
@ -70,7 +70,7 @@ class AuthD::Request
|
|||||||
|
|
||||||
authd.users_per_uid.update cloned_user
|
authd.users_per_uid.update cloned_user
|
||||||
|
|
||||||
Response::NewEmailAddressValidated.new
|
Response::NewEmailAddressValidated.new cloned_user.contact.email.not_nil!
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
AuthD.requests << NewEmailAddressToken
|
AuthD.requests << NewEmailAddressToken
|
||||||
|
@ -6,7 +6,8 @@ class AuthD::Response
|
|||||||
AuthD.responses << NewEmailTokenSent
|
AuthD.responses << NewEmailTokenSent
|
||||||
|
|
||||||
IPC::JSON.message NewEmailAddressValidated, 15 do
|
IPC::JSON.message NewEmailAddressValidated, 15 do
|
||||||
def initialize()
|
property email : String
|
||||||
|
def initialize(@email)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
AuthD.responses << NewEmailAddressValidated
|
AuthD.responses << NewEmailAddressValidated
|
||||||
|
Loading…
Reference in New Issue
Block a user