Support

  1. dhusband
  2. Bug Report
  3. Wednesday, February 10 2021, 12:14 PM
  4.  Subscribe via email
I have Akeeba login guard installed which manages Dual Authentication.
This redirects at login if the user has dual authentication enabled or can redirect on login to ask them to enable if they have not set do not show me again. This clashes with EasyProfile if there are profile fields to update, with it stuck in multiple redirects.
I have disabled the option to remind the user to enable dual authentication to remove the clash, which not ideal as I would prefer more people to enable.
Yesterday I did an update which requires an additional field to completed by the user, but this is now causing multiple redirects for those with dual-factor turned on and stopping the user getting in.
Is possible to prevent the EasyProfile redirect until Akeeba has finished?

Thank you
David
admin Accepted Answer
Admin
Hi,
unfortunately we does no have experience with Akeeba login guard. Normally a Joomla two-step verification plugin works in edit profile page, so there is not any conflict with this Easy Profile's function.

I'm not sure that this works anyway you can try to replace in file /plugins/system/jsn_system/jsn_system.php the line 214:
if($user->id && $checkRequired &&....
with this code:
if($user->id && $checkRequired && 
// Case: field ajax operation
!(
JFactory::getApplication()->input->get('option','')=='com_jsn' &&
JFactory::getApplication()->input->get('view','')=='opField'
) &&
// Case: logout from com_users menu item
!(
JFactory::getApplication()->input->get('option','')=='com_users' &&
JFactory::getApplication()->input->get('layout','')=='logout'
) &&
// Case: Akeeba Loginguard
!(
JFactory::getApplication()->input->get('option','')=='com_loginguard'
)
)


This code should avoid the redirect to edit profile page when the page become from component "com_loginguard"
  1. more than a month ago
  2. Bug Report
  3. # 1
dhusband Accepted Answer
Pro
Thank you for the quick response.

I will test and get back to you.
  1. more than a month ago
  2. Bug Report
  3. # 2
dhusband Accepted Answer
Pro
Thank you. The initial tests have all worked.
It is important to have the Akeeba plugin first, otherwise it flashes the profile before security is checked.
Will the fix be in future updates or do I need to keep a note of it?

Thank you for your fast response.
David
  1. more than a month ago
  2. Bug Report
  3. # 3
admin Accepted Answer
Admin
Will the fix be in future updates or do I need to keep a note of it?
Yes, we will add it in next release. Security is the most important thing and Akeeba's solutions are very popular.

Please let me know if you find some issue
  1. more than a month ago
  2. Bug Report
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy ProfileĀ® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.