Commit graph

2 commits

Author SHA1 Message Date
Gusted
51e0b34fa8
[v7.0/forgejo] fix: load settings for valid user and email check
- 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.

(cherry picked from commit 46e60ce966)
2025-01-24 13:27:36 +01:00
Lunny Xiao
62f995203a
Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
Renamed from modules/doctor/breaking.go (Browse further)