feat: Readded support for reading registration tokens from a file

Co-authored-by: Ginger <ginger@gingershaped.computer>
This commit is contained in:
Ben BotwinandGinger authored and Ellis Git committed 2026-03-04 15:06:26 +00:00
1 parent da561ab792
commit 5eb74bc1dd
5 files changed
+79 -28

No files matched your search

+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 \