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 |
||
|---|---|---|
| .. | ||
| admin_acl_test.rb | ||
| admin_auth_test.rb | ||
| app_test.rb | ||
| bingo_test.rb | ||
| crypto_test.rb | ||
| fmt_test.rb | ||
| invoice_cancel_test.rb | ||
| invoice_test.rb | ||
| payout_address_test.rb | ||
| rate_limit_test.rb | ||
| test_helper.rb | ||
| users_admin_test.rb | ||