View Source GlificWeb.API.V1.RegistrationController (Glific v5.1.6)
The Pow User Registration Controller
Link to this section Summary
Functions
Function for generating verification code and sending otp verification message
Controller function for reset password It also verifies OTP to authorize the request
verifying google captcha only when token is passed
Link to this section Functions
@spec create_and_send_verification_code(Glific.Contacts.Contact.t()) :: {:ok, String.t()}
Function for generating verification code and sending otp verification message
@spec reset_password(Plug.Conn.t(), map()) :: Plug.Conn.t()
Controller function for reset password It also verifies OTP to authorize the request
@spec send_otp(Plug.Conn.t(), map()) :: Plug.Conn.t()
verifying google captcha only when token is passed