Skip to content

Bootstrap Admin account by Email #10

@jankapunkt

Description

@jankapunkt

The Admin account must not be created by username/password combination but via the following process:

  1. get the admin email address from the private settings file
  2. check if at least one user exists by this email and return if true
  3. otherwise create a random password and create a user with this email and username
  4. send enrolment email via Accounts.sendEnrollmentEmail
  5. use the Accounts.onEnrollmentLink callback to
    5.1. call Accounts.resetPassword
    5.2. call Accounts.verifyEmail

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions