sleede / fab-manager

Fab-Manager is the FabLab management solution. It provides a comprehensive, web-based, open-source tool to simplify your administrative tasks and your marker's projects.
http://www.fab-manager.com
Other
229 stars 114 forks source link

Connection with first admin account should not require email validation #493

Open Gredin67 opened 3 months ago

Gredin67 commented 3 months ago

Describe the bug If email validation is activated for new accounts, it asks for email validation of the first admin account, although the account has already been created and login was previously successfull. In my case I do not receive the validation email on my mailbox.

To Reproduce Steps to reproduce the behavior:

  1. Install fab-manager
  2. define admin@domain.tld as first admin account
  3. Log in first admin account with password successfully
  4. Activate email validation for new accounts
  5. Log in with first admin account requires email validation if the mail server of fab-manager is wrongly configured or the admin mail box does not work, we are unable to connect to fab-manager webadmin.

Expected behavior The first admin account which has already been activated should not require email validation, or should be created with email_validated_boolean=true At least we should be able to deactivate email validation from the CLI. Maybe admin accounts should not require validation.

Server (please complete the following information):

Browser (please complete the following information):