2FA_MODE - Version 2020 (10.0) - Hexagon

Smart Materials Web Installation (10.2)

Language
English
Smart Materials/Smart Reference Data Version
10.2

With this DBA setting, you control the two-factor authentication (2FA) in Smart Materials Web.

  • If you enable 2FA, specify the token validity time with DBA setting 2FA_TOKEN_VALIDITY.

  • If you enable 2FA, ensure that all users have a valid email address assigned on the Administration > Users page. Otherwise, they will not be able to login to Smart Materials Web.

With enabled 2FA, if a user signs in to Smart Materials Web, an email is sent after entering username and password and clicking Login button. This email contains the verification code, which must be entered within the time specified with 2FA_TOKEN_VALIDITY, to complete the login procedure. The email is created using the m_pck_mail_custom.create_msg_text_2fa CIP function.

With 2FA_MODE set to OFF (this is the default), the two-factor authentication is disabled. With all other settings, the two-factor authentication is enabled.

With 2FA_ENABLE set to ALWAYS, the verification code must be entered at each login.

With 2FA_ENABLE set to RANDOM, the verification code must be entered randomly.

With 2FA_ENABLE set to IP_CHANGE or IP_NEW, the verification code must be entered if the IP address is changed or a new IP address is used.

With 2FA_ENABLE set to EVERY_X_DAYS or EVERY_X_LOGINS, the verification code must be entered every X days or logins. Specify the X value with DBA Setting 2FA_X.