You will not see an alert message "You have been logged in" at this point.
This message should appear after you successfully entered your verification code, on the next screen.
You see an alert message "You have been logged in", although the login process is not finished yet.
systeminfo-2023-04-19T21 08 46+02 00.txt
I didn't test with other MFA methods (i.e. WebAuthn), but I suspect that the bug shows up as well.
Labels |
Added:
No Code Attached Yet
|
@richard67 The button might better be labeled "Cancel", in case you decide not to log in.
In fact, you seem to be logged in already at this moment. On a real site, I can see the following:
In the menu at the top of the page, all menu items (apart from "Startseite") have access level "Registered".
The alert message has been dropped by a language override.
Well we also could use „f…ck, I can‘t find my smartphone with the authenticator app right now“, but that is a bit long, so „Cancel“ is fine :-)
Labels |
Added:
bug
|
question: Can this issue also be reproduced with a 4.2.9, or does it really need the 4.3.0?
Yes, it is the same in 4.2.9.
Title |
|
@brianteeman Thank you for your hint regarding the configuration option "Allowed frontend module positions"! I didn't know this option up to now. I just purchased Luca Marzo's book "Joomla!4 Masterclass" to get myself informed about the new Joomla features, but I haven't finished reading yet.
In case of my website, your hint doesn't really help. I use template SKYLAR from Joomla51 aka. Ciaran Walsh. The top menu doesn't sit in a module position by default, but is handled by the template, obviously using Bootstrap class 'hornav'.
I'll wait what happens with this bug report. Hopefully a solution will solve the issue with SKYLAR as well. If not, I will open an issue in Ciaran's forum.
I'll wait what happens with this bug report. Hopefully a solution will solve the issue with SKYLAR as well. If not, I will open an issue in Ciaran's forum.
It will not be possible to change the code in the core to resolve your specific issue as it is with the template and not within any of the core code..
This should be closed as there is nothing in the core to be changed.
@brianteeman I don't think that the issue should be closed. When you have a look at the original bug report, you see Cassiopeia, And the bug report is about the logged-in message being issued before the second part of the login, the 2FA, has been successfully done.
The issue in connection with Ciaran's template may have the same reason: The logged-in event is triggered too early.
@brianteeman I don't think that the issue should be closed. When you have a look at the original bug report, you see Cassiopeia, And the bug report is about the logged-in message being issued before the second part of the login, the 2FA, has been successfully done.
Sorry I was responding to the subsequent posts about the hornav and not the original one about the message.
For me the problem is that this "logged in message" should never have been merged as it is not compatible with second factor authentication
I agree with @brianteeman. Until you pass the MFA and are indeed logged into the system, posting a message you are logged in is misleading and confusing. Also, do we need to be told we are logged in? The only message I see as helpful is in the case of a wrong password or failed MFA attempt by giving a guidance message to try again, reset the password, etc.
Well the message is the symptom but not the problem. The problem is indeed that we are already logged in before we have passed MFA.
When user email notifications are set, the "Login" notification also appears before the user has finished his MFA.
For the same reason, the „Log Out“ button on the page to enter the verification code is confusing, too.