Skip to content

feat: admin login - #92

Open
robsimmons wants to merge 7 commits into
mainfrom
push-yltnzrpvulrv
Open

feat: admin login#92
robsimmons wants to merge 7 commits into
mainfrom
push-yltnzrpvulrv

Conversation

@robsimmons

@robsimmons robsimmons commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

This PR changes the behavior of the admin and dev users. Neither are created eagerly upon initialization; instead, /setup uses the signal of initAdminPassword existing to create the admin user, set the password to the user-provided value, and then delete initAdminPassword. Future visits to /setup will present the admin login option.

/admin becomes the intended way to do admin login when logged out.

The dev user is only created the first time someone clicks the [DEV] button in development mode, and this PR removes the recently-added recurring check for deleting the dev user if it exists in production mode.

Closes #88

@robsimmons
robsimmons force-pushed the push-yltnzrpvulrv branch 2 times, most recently from 2f6edad to 94f587f Compare August 21, 2026 19:12
@robsimmons
robsimmons requested a review from Vtec234 August 21, 2026 19:17
@robsimmons
robsimmons force-pushed the push-yltnzrpvulrv branch 2 times, most recently from 82d4f90 to b8844dd Compare August 21, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unclear how to log back in as administrator after initial setup

1 participant