Fix Usermin authentication page (once again)

This reverts commit 5d586597f5d10e93a3168380bed946e6e75d0291.
This commit is contained in:
Ilia Ross 2025-06-02 13:16:33 +03:00
parent af73be4d1e
commit cf22fb1ea3
No known key found for this signature in database
GPG Key ID: 121E166DD9C821AB
3 changed files with 2 additions and 4 deletions

View File

@ -132,7 +132,6 @@ referer_fix3u=Make sure your browser is configured to send referrer information
referer_fix2u=Alternately, you can configure Webmin to allow links from unknown referers by :<ul><li>Login as <tt>root</tt>, and edit the <tt>/etc/webmin/config</tt> file.</li><li>Find the line <tt>referers_none=1</tt> and change it to <tt>referers_none=0</tt>.</li><li>Save the file.</li></ul><p></p>WARNING - this has the side effect of opening your system up to reflected XSS attacks and so is not recommended! referer_fix2u=Alternately, you can configure Webmin to allow links from unknown referers by :<ul><li>Login as <tt>root</tt>, and edit the <tt>/etc/webmin/config</tt> file.</li><li>Find the line <tt>referers_none=1</tt> and change it to <tt>referers_none=0</tt>.</li><li>Save the file.</li></ul><p></p>WARNING - this has the side effect of opening your system up to reflected XSS attacks and so is not recommended!
session_header=Login to Webmin session_header=Login to Webmin
session_uheader=Login to Usermin
session_mesg=You must enter a username and password to login to the Webmin server on $1. session_mesg=You must enter a username and password to login to the Webmin server on $1.
session_mesg2=You must enter a username and password to login. session_mesg2=You must enter a username and password to login.
session_user=Username session_user=Username

View File

@ -11,10 +11,9 @@ $ver = &get_usermin_version();
&get_usermin_config(\%uconfig); &get_usermin_config(\%uconfig);
print "$text{'session_desc1'}<p>\n"; print "$text{'session_desc1'}<p>\n";
print "$text{'session_desc2'}<p>\n";
print ui_form_start("change_session.cgi", "post"); print ui_form_start("change_session.cgi", "post");
print ui_table_start($text{'session_uheader'}, undef, 2); print ui_table_start($text{'session_header'}, undef, 2);
# Bad password delay # Bad password delay
print &ui_table_row($text{'session_ptimeout'}, print &ui_table_row($text{'session_ptimeout'},

View File

@ -57,8 +57,8 @@ lang_title2=Usermin Language and Locale
lang_intro=This page allows you to choose which language Usermin will use for displaying titles, prompts and messages lang_intro=This page allows you to choose which language Usermin will use for displaying titles, prompts and messages
session_title=Authentication session_title=Authentication
session_header=Authentication and session options
session_desc1=When enabled, password timeouts protect your Usermin server from brute-force password cracking attacks by adding a continuously expanding delay between each failed login attempt for the same user. session_desc1=When enabled, password timeouts protect your Usermin server from brute-force password cracking attacks by adding a continuously expanding delay between each failed login attempt for the same user.
session_desc2=When session authentication is enabled, each logged in users' session will be tracked by Usermin, making it possible for idle users to be automatically logged out. Be aware that enabling or disabling session authentication may force all users to re-login.
session_remember=Offer to remember login permanently? session_remember=Offer to remember login permanently?
session_hostname=Show hostname on login screen? session_hostname=Show hostname on login screen?
session_realname=Show real hostname instead of name from URL? session_realname=Show real hostname instead of name from URL?