ADMIN_USER only seeds the first superuser on an empty table, so renaming the secret afterwards had no effect and there was no other way to change a login name. Superusers can now edit usernames in /admin/users, including their own; sessions key on the user id and survive, duplicates are refused, and the rename is audited. Assisted-by: Claude:opus-5 |
||
|---|---|---|
| .. | ||
| bingo | ||
| invoices | ||
| users | ||
| _nav.erb | ||
| account_password.erb | ||
| audit.erb | ||
| dashboard.erb | ||
| login.erb | ||
| reset_request.erb | ||
| set_password.erb | ||