User tests: Successful: Unsuccessful:
Closes #30051
only shows message when $root_user
has an actual value and not when $root_user = '';
in configuration.php
Same fix needs to bubble up to Joomla 4 as Joomla 4 has the same bug.
Install Joomla 3
manually edit /configuration.php and create class property of
public $root_user = '';
visit /administrator/ when logged out
none
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
?
|
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
I think the current behavior is correct because we unset the property and don't want that is set at all.
I think the current behavior is correct
The current behaviour states "you are logged in" - which is factually incorrect.
The current behaviour displays a security based message to the public before authentication has taken place
For those reasons alone this PR is acceptable to be merged.
Also remember that this $root_suer has to be set manually, so also has to be removed manually. Leaving $root_user = '';
should not be the same as $root_user = 'admin';
, it should be the same as removing the property completely.
This PR is already RTC... up to you if you merge it or yet more wasted time on presumptive PRs and people testing.
Documentation says you have to delete this line, actually the error message get only displayed if you set an empty root_user.
I will not change this behavior this class property should not exists on a production site.
Thanks for you contribution.
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-08-17 11:19:36 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
?
|
Your faith in people reading correctly documentation and accurately following it is misplaced, after all, this issue would not have been reported to me by "a normal user" if they had read, and had followed the documentation as written.
I have tested this item✅ successfully on a3a7212
Testted successfully in 3.9.20-dev of 9 July.
WIndows 10 Wampserver 3.2.2 Apache 2.4.43 MySQL 8.0.20 PHP 7.4.7
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30057.