feat: Readded support for reading registration tokens from a file

Co-authored-by: Ginger <ginger@gingershaped.computer>
This commit is contained in:
Ben Botwin
2026-02-16 16:27:59 -05:00
committed by Ellis Git
parent da561ab792
commit 5eb74bc1dd
5 changed files with 79 additions and 28 deletions
+1
View File
@@ -174,6 +174,7 @@ pub fn check(config: &Config) -> Result {
if config.allow_registration
&& config.yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse
&& config.registration_token.is_none()
&& config.registration_token_file.is_none()
{
warn!(
"Open registration is enabled via setting \