Search Results :


Setup Remember My Device/Trusted Devices for Drupal 2FA

Setup Remember My Device/Trusted Devices for Drupal 2FA

The Remember My Device feature allows the browser to remember that user has confirmed the identity using 2FA and skip 2FA on subsequent logins. By following this guide you can allow the users to set up Remember My Device/Trusted devices.The Drupal Two Factor Authentication - 2FA / Passwordless Login is available for Drupal 7, Drupal 8, Drupal 9 and Drupal 10.

Installation Steps:

  • Download the module:
    composer require 'drupal/miniorange_2fa'
  • Go to Extend menu on your Drupal admin console and enable the module by enabling the checkbox and click on Install button.
  • Configure the module at:
  • Install the module:
    drush en miniorange_2fa
  • Clear the cache:
     drush cr
  • Configure the module at:
  • Navigate to Extend menu on your Drupal admin console and click on Install new module.
  • Install the Drupal Two Factor Authentication / Passwordless login module either by downloading the zip or from the URL of the package (tar/zip).
  • Click on Enable newly added modules.
  • Enable this module by checking the checkbox and click on Install button.
  • Configure the module at


  • The following checkboxes are enabled under Login Settings tab of the module:
    • Enable Two-Factor module
    • Invoke Inline Registration to setup 2nd factor for users

Configure Remember My Device

  • Register/Login with miniOrange.
  • Navigate to Login Settings tab. (Path - /admin/config/people/miniorange_2fa/login_settings)
  • Scroll down to the Remember My Device section and enable the Remember My Device checkbox.
  • Drupal-2FA-Remeber-My-Device-Enable-Check-Box
  • Configure the following settings:
    • Device Profiles Expiry Time (In days) - Select the number of days for which the device profile should be remembered. 2FA will be invoked again once it expires.
    • Enter the number of devices - You can configure the number of devices which can be remembered at a time for a user profile. Once this is exceeded, 2FA will be invoked for the users on all the later devices.

You have successfully configured Remember My Device.

User Experience:

  1. Open a new browser/private window and go to your Drupal site login page.
  2. Login with your Drupal credentials.
  3. Enable Remember this device checkbox and complete the second factor of authentication.
  4. You have successfully logged in to your Drupal site.
  5. 2FA will not be invoked on the remembered device for subsequent logins.

Additional Features:

Explore the advanced features offered by the module with full-featured trial. You can initiate the trial request using Request 7-day trial button under Register/Login tab of the module or reach out to us at for one-on-one assistance from Drupal expert.

 Case Studies
miniOrange has successfully catered to the use cases of 400+ trusted customers with its highly flexible/customizable Drupal solutions. Feel free to check out some of our unique case studies using this link.
 Other Solutions
Feel free to explore other Drupal solutions that we offer here. The popular solutions used by our trusted customers include SSO, User Provisioning, Website Security. 
  24*7 Active Support
The Drupal developers at miniOrange offer quick and active support for your queries. We can assist you from choosing the best solution for your use case to deploying and maintaining the solution.
Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to