From 85f14f92fdb5c375f0ae4100f50a529a62b480ec Mon Sep 17 00:00:00 2001 From: rupak Date: Sat, 24 Jan 2026 20:16:43 +0545 Subject: Message for closed registration (#8462) * Add closed msg field i18n fix * Display based on registration type * Save as FreshRSS_Context::systemConf()->closed_registration_message instead * Improve messages * Revert unrelated changes * make fix-all * Minor whitespace * Simplify logic * Fix invalid use of empty() and sympler syntax --------- Co-authored-by: Alexandre Alapetite --- app/Controllers/configureController.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Controllers/configureController.php') diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php index 98a201e26..893fa5478 100644 --- a/app/Controllers/configureController.php +++ b/app/Controllers/configureController.php @@ -609,6 +609,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController { FreshRSS_Context::systemConf()->limits = $limits; FreshRSS_Context::systemConf()->title = Minz_Request::paramString('instance-name') ?: 'FreshRSS'; FreshRSS_Context::systemConf()->force_email_validation = Minz_Request::paramBoolean('force-email-validation'); + FreshRSS_Context::systemConf()->closed_registration_message = Minz_Request::paramString('closed_registration_message') ?: ''; FreshRSS_Context::systemConf()->save(); invalidateHttpCache(); -- cgit v1.2.3