Actions
Bug #16145
openNot possible to delete Custom message text for the login screen
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
25.03
Release Notes:
Force Exclusion
Affected Version:
Affected Architecture:
All
Description
I tried the new feature #9293 to add Custom message text for the login screen. All went well until I wanted to remove the text. It did not work. Selecting the text, pressing delete and save resulted in "The changes have been applied successfully." with an empty text box (as would be
expected). But entering General Setup again shows the message still being present (also verified by loging out/in again).
A temporary "work-around" is to not delete the complete message but leave an empty space, but that gives an empty message field on the login page.
Updated by Patrik Stahlman 1 day ago
This change seems to fix the issue
--- system.php.orig 2025-04-14 19:04:00.000000000 +0200
+++ system.php 2025-04-18 13:33:19.868263000 +0200
@@ -339,6 +339,8 @@
$login_message = strip_tags(strval($pconfig['login_message']));
$pconfig['login_message'] = $login_message;
config_set_path('system/login_message', base64_encode($login_message));
+ } else {
+ config_del_path('system/login_message');
}
Updated by Marcos M about 18 hours ago
- Project changed from pfSense Plus to pfSense
- Category changed from Web Interface to Web Interface
- Status changed from New to In Progress
- Assignee set to Marcos M
- Target version set to 2.8.0
- Release Notes changed from Default to Force Exclusion
- Affected Plus Version deleted (
25.03) - Plus Target Version set to 25.03
Thanks!
Updated by Marcos M about 18 hours ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset 23ed921b456f6cdc5f5ab53b94029452362cf658.
Actions