Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Two-Factor-Authentication is now live

More
3 years 10 months ago #199744 by kjnerhus
Replied by kjnerhus on topic Two-Factor-Authentication is now live
Hi, i have Limesurvey 4.2.4 and installed the new plugin 1.2.2. Installation worked and I activated the plugin.

Nothing happens when I press the button "register 2FA now".
Have tried Firefox, Opera, Safari and Chrome on Mac. The same thing happens in all browsers.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • ollehar
  • ollehar's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
3 years 10 months ago #199795 by ollehar
Replied by ollehar on topic Two-Factor-Authentication is now live
@kjnerhus Thanks for testing. Can you click F12 in the browser (Firefox or Chrome) to enable debug window? Then click the "Console" window and give us a screenshot of any error message (presented in red text). Thank you.
The topic has been locked.
More
3 years 10 months ago #199799 by kjnerhus
Replied by kjnerhus on topic Two-Factor-Authentication is now live
This is what I got:

TypeError: window.TFAUser is undefineduserindex:552:1
<anonymous> martinasurvey.no/_kne/index.php/admin/pl...method/userindex:552
jQuery 7
dispatch
handle
trigger
triggerHandler
<anonymous>
e
t
The topic has been locked.
  • ollehar
  • ollehar's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
3 years 10 months ago #199802 by ollehar
Replied by ollehar on topic Two-Factor-Authentication is now live
OK, it shows that a script is not initialized as it should. Where is your upload/ folder located? Are all your folders in a standard web root?
The topic has been locked.
More
3 years 10 months ago #199816 by kjnerhus
Replied by kjnerhus on topic Two-Factor-Authentication is now live
Yes it is in a standard web root. Could it be a thing with permissions?
The topic has been locked.
  • ollehar
  • ollehar's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
3 years 10 months ago #199818 by ollehar
Replied by ollehar on topic Two-Factor-Authentication is now live

kjnerhus wrote: Yes it is in a standard web root. Could it be a thing with permissions?


It shouldn't be a problem with permission. If you're using a standard Linux setup, everything is readable for all users, which should be enough to load the script file for the web user. Hm hm.
The topic has been locked.
More
3 years 10 months ago - 3 years 10 months ago #199824 by kjnerhus
Replied by kjnerhus on topic Two-Factor-Authentication is now live
Tried in Chrome as well and got the following message in console:

jquery-3.4.1.min.js:2 Uncaught TypeError: Cannot read property 'bind' of undefined
Attachments:
Last edit: 3 years 10 months ago by kjnerhus. Reason: two identical images
The topic has been locked.
  • ollehar
  • ollehar's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
3 years 10 months ago #199826 by ollehar
Replied by ollehar on topic Two-Factor-Authentication is now live
Strange. Can you give me a screenshot of how the browser looks like?
The topic has been locked.
More
3 years 10 months ago #199827 by kjnerhus
Replied by kjnerhus on topic Two-Factor-Authentication is now live
OK here:
The topic has been locked.
  • cdorin
  • cdorin's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 10 months ago #199873 by cdorin
Replied by cdorin on topic Two-Factor-Authentication is now live
I cannot reproduce the issue - installed successfully the plug-in after the latest update. Could you please create a bug report on bugs.limesurvey.org ? (provide as much information as possible)

Also, make sure the permissions are correctly allocated and that you have unzipped the plugin in the plugins/TwoFactorAdminLogin folder. Thanks for your help! :)

Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
The topic has been locked.
More
3 years 10 months ago #199880 by cesystra
Replied by cesystra on topic Two-Factor-Authentication is now live
Hello,
Same issue here.
I can confirm the installation seems to be working.
However unable to register any 2FA for my account.
Nothing happens when I click on "Register 2FA now".
On "Console" view of Firefox I got same error message as kjnerhus.
The topic has been locked.
  • cdorin
  • cdorin's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
3 years 10 months ago #199900 by cdorin
Replied by cdorin on topic Two-Factor-Authentication is now live
Ok, found the issue. I messaged Olle about it (it is about the path where the plugin gets installed if you use the plugin GUI)

Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose