mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 05:06:53 +00:00
feat: Disable challengeless registration without signing a waiver
This commit is contained in:
6 files changed
+21
-18
No files matched your search
@@ -326,9 +326,7 @@ async fn begin_registration(
|
||||
next: Option<LoginTarget>,
|
||||
client: &IpAddr,
|
||||
) -> Result<Result<Response, ValidationErrors>> {
|
||||
let open_registration = services
|
||||
.config
|
||||
.yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse;
|
||||
let open_registration = services.config.enable_challengeless_registration();
|
||||
let mut errors = ValidationErrors::new();
|
||||
|
||||
let user_id = match services
|
||||
|
||||
Reference in new issue
Block a user