Menu

Enable 2-factor authentification?

Mee
2018-03-15
2025-01-20
  • Mee

    Mee - 2018-03-15

    In the changelog of v5.1.6 i discovered

    fix 2-factor authentification
    

    What does this mean? Has this already been implemented? And how and where can this be activated?

     
  • Uwe Steinmann

    Uwe Steinmann - 2018-03-16

    The entry slipped in there by accident. 2-factor authentification will come in version 6.0.x

     
  • Mee

    Mee - 2018-03-19

    Thanks for the clarification. I am looking forward to v6.0 though.

     
  • Miguel Mendez

    Miguel Mendez - 2018-04-05

    Hi,

    I have installed SeedDms 5.1.6 and when I tried to test email, I got "Net_SMTP" not foud, then I installed: pear install Net_SMTP and now I get the error: PHP Notice: Undefined property: Settings::$_enable2FactorAuthentication in /var/www/html/seeddms-5.1.6/op/op.Login.php on line 133, referer: http://localhost/seeddms/out/out.Login.php

    I just want to send notification using Gmail SMTP, could you help me?

    Thanks

     
  • Uwe Steinmann

    Uwe Steinmann - 2018-04-05

    Disregard the notice. It will not harm. You don't have to install Net_SMTP. It's already available in the pear directory within the quickstart archive.

    gmail can be tricky, because gmail may treat the php mail client as insecure and you must allow such 'insecure apps' first.

     
  • Karsten Behrens

    Karsten Behrens - 2022-01-04

    2fa codes can be created in 6.x, but it seems like they are not used yet for protect logins. Am I missing a config option or is the feature not implemented yet?

     
  • Ip Smile

    Ip Smile - 2024-10-15

    I am experimenting with 6.0.28. My question is once 2fa is turned on, and before I have setting up the authenticator in my cell phone and I locked myself out. Is there a way to turn it off?

     

    Last edit: Ip Smile 2024-10-15
  • Uwe Steinmann

    Uwe Steinmann - 2024-10-15

    Just edit the settings.xml and set "enable2FactorAuthentication" to false.

     
    • Ip Smile

      Ip Smile - 2024-10-15

      Got it. thanks.

       
  • OpenSourceLover

    OpenSourceLover - 2025-01-08

    Hi,
    I am using SeedDMS 6.0.29
    I enables 2-factor auth. and setup 2-fact. for the admin account and two user accounts.
    I can login using the admin account ONLY.
    When I try to sing in using the two users I receive the following error message:
    "Error signing in. User ID or password incorrect."
    Notices:

    • I promote them to admin privileges. but the same error.
    • when I disable the 2-fact. in the setting, I can get through with the two accounts.
      Do I missing some point?
     

    Last edit: OpenSourceLover 2025-01-08
  • Uwe Steinmann

    Uwe Steinmann - 2025-01-08

    I'll check that myself. Could be a bug in SeedDMS.

     
  • Uwe Steinmann

    Uwe Steinmann - 2025-01-08

    I just checked it with a non admin user and it's working in my local installation. If you have some knowledge of PHP, you could try to identify the problem. Just open controllers/class.Login.php and search for _enable2FactorAuthentication. If the verification of the code fails it issues an error message login_error_text. Change that to something else and try again. If your error msg appears, you would at least know that the 2 fact causes the failure or something else.

     
  • OpenSourceLover

    OpenSourceLover - 2025-01-09

    I changed the "login_error_text" with my own message, and it appeared when I tried to login.

     
  • Uwe Steinmann

    Uwe Steinmann - 2025-01-20

    That indicates that the 2-Factor authentication fails. Can you be sure, that both the server and the authenicator have the same time?

     

Log in to post a comment.

MongoDB Logo MongoDB