Change Email

As sys.Workspace.ProfileOwner I want to change my Email.

c.sys.ChangeUserEmail()

  • AuthZ: role.sys.Workspace.ProfileOwner

  • Params

    • NewEMail

  • Errors

    • Email is mailformed // See similar message

Flow:

  • Update UserProfileWS.UserProfile.Email

Background

Overview by Copilot

  1. Email Sending:

  1. SMTP Configuration:

  • The smtp package defines the SMTP configuration in types.go: types.go.

  • Functions related to SMTP configuration are in impl.go: impl.go.

  1. Email Verification Tokens:

  • The userprofile.vsql file includes commands for sending email verification codes: userprofile.vsql.

  1. The implementation of Storage_SendMail:

  • Can be found in the pkg/sys/storages/impl_send_mail_storage.go file. You can view the implementation here.

Last updated

Was this helpful?