mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-02-16 02:58:33 -05:00
- The doctor commands to check the validity of existing usernames and email addresses depend on functionality that have configurable behavior depending on the values of the `[service]` settings, so load them when running the doctor command. - Resolves #6664 - No unit test due to the architecture of doctor commands. # Testing 1. Set `[service].ALLOW_DOTS_IN_USERNAMES = true`. 2. Create a user that contains a dot in their username. 3. Run the `check-user-name` doctor command and verify there's no error reported. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6674 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz> |
||
---|---|---|
.. | ||
actions.go | ||
authorizedkeys.go | ||
breaking.go | ||
checkOldArchives.go | ||
dbconsistency.go | ||
dbversion.go | ||
doctor.go | ||
fix8312.go | ||
fix16961.go | ||
fix16961_test.go | ||
heads.go | ||
lfs.go | ||
mergebase.go | ||
misc.go | ||
packages_nuget.go | ||
paths.go | ||
push_mirror_consistency.go | ||
repository.go | ||
storage.go | ||
usertype.go |