View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
17619Bug reportsAuthenticationpublic2021-09-27 08:45
Reporteradrianwi Assigned Toc_schmitz  
PriorityhighSeverityblock 
Status closedResolutionfixed 
Product Version5.x 
Summary17619: 2FA isn't working
Description

2FA worked on 3x but when upgrading to 5x it no longer worked so I had to disable it.

Steps To Reproduce

When I reenabled, I see the 2FA drop-down menu and can select the 2FA-Settings, after which I:

  1. click the Register 2FA Now button
  2. scan the QR Code with a 2FA App
  3. enter the ConfirmationKey

This doesn't validate the 2FA so isn't fully enabled. I'm using an even stronger password as a workaround, but getting 2FA working again in 5x would be brilliant

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)Version 5.1.10+210913
I will donate to the project if issue is resolvedNo
BrowserChrome 93.0.4577.63
Database type & versionMariaDB 10.3.30
Server OS (if known)FreeBSD 12 (TrueNAS 12.0-U5 Jail)
Webserver software & version (if known)Apache 2.4.48
PHP VersionPHP 7.3.30

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2021-09-23 11:47

administrator   ~66604

Can you test with debug = 2 in config.php, please? Post any error message here.

adrianwi

adrianwi

2021-09-23 13:08

reporter   ~66606

Last edited: 2021-09-24 11:34

Thanks for the quick response. I've changed the debug flag to 'debug =>2' in /application/config/config.php but I can't see any additional log files generated. The log folders seem to just have an index.html file within?

When I enter the confirmationKey and click the Create 2FA Binding I get a very brief circle of dots displayed which disappears and simply returns the same screen. I've tried to screenshot, but can't grab the circle of dots as it's just too quick!

c_schmitz

c_schmitz

2021-09-24 16:46

administrator   ~66613

I cannot reproduce this. Because 2FA is time-sensitive, a possible problem would be that either your client device or your server is out of sync regarding time.
Can you please check?

adrianwi

adrianwi

2021-09-25 00:38

reporter   ~66615

Ah, that's fixed it! Thanks for your help.

Perhaps a dialogue box with a suggestion to check the server and client times are synchronized rather than a quickly disappearing circle of dots might be a good future development?

All working now with the following added to my /etc/rc.conf file:

ntpd_enable="YES"
ntpdate_enable="YES"

DenisChenu

DenisChenu

2021-09-25 10:54

developer   ~66616

Perhaps a dialogue box with a suggestion to check the server and client times are synchronized rather than a quickly disappearing circle of dots might be a good future development?

I think current time must be show at plugin settings too. Because it's an admin issue :)

galads

galads

2021-09-27 08:45

reporter   ~66621

I will close this ticket since it is not a bug. Feel free to re-open it if you feel otherwise.

Issue History

Date Modified Username Field Change
2021-09-23 11:39 adrianwi New Issue
2021-09-23 11:47 ollehar Note Added: 66604
2021-09-23 11:47 ollehar Bug heat 0 => 2
2021-09-23 13:08 adrianwi Note Added: 66606
2021-09-23 13:08 adrianwi File Added: Screen Shot 2021-09-23 at 11.30.18.jpg
2021-09-23 13:08 adrianwi Bug heat 2 => 4
2021-09-24 11:34 ollehar Priority none => high
2021-09-24 11:34 ollehar Zoho Project Synchronization => |Yes|
2021-09-24 16:46 c_schmitz Assigned To => c_schmitz
2021-09-24 16:46 c_schmitz Status new => feedback
2021-09-24 16:46 c_schmitz Note Added: 66613
2021-09-24 16:46 c_schmitz Bug heat 4 => 6
2021-09-25 00:38 adrianwi Note Added: 66615
2021-09-25 00:38 adrianwi Status feedback => assigned
2021-09-25 10:54 DenisChenu Note Added: 66616
2021-09-25 10:54 DenisChenu Bug heat 6 => 8
2021-09-27 08:45 galads Note Added: 66621
2021-09-27 08:45 galads Bug heat 8 => 10
2021-09-27 08:45 galads Status assigned => closed
2021-09-27 08:45 galads Resolution open => fixed