Skip to content

SUPERUSER_EMAIL in .env not updated in database after domain change #712

@matiasAS

Description

@matiasAS

Hello,
I changed the domain for my openBalena v4 deployment and updated the SUPERUSER_EMAIL value in the .env file before running make up and make auto-pki. Everything completed successfully.

However, when trying to log in with the new email, I kept getting “Invalid credentials”. After checking the database, I found that the user email had not been updated — it still had the previous value.

Expected behavior: SUPERUSER_EMAIL should update the existing user email if it already exists.

Best regards
Matias

@ab77 @wrboyce @relaxdiego

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