This plugin lets you remember your web browser after a successful login. This trusted browser can then be used to skip the entire authentication, or just bypass second factors.
Important
The Trusted Browser feature uses a TOTP challenge behind the scenes. This means it only works if the client web browser is in sync with the server.
Note
When logging out explicitely from the Logout button on the portal, the current browser trust is destroyed. If you want to test this feature without having to wait for your existing session to expire, you need to manually remove the lemonldap session cookie (and leave the llngconnection long-lived cookie alone.
Only allow members of a certain group to remember their browsers
inGroup('trusted_users')
Only allow registering a trusted browser from a certain network
inSubnet('10.0.0.0/8', '192.168.0.0/16')
Only allow remembering the web browser if the authentication was strong enough
$authenticationLevel >= 4
You can use the $_trustedBrowser session variable in 2FA rules, for example, as a TOTP activation rule
has2f("TOTP") and !$_trustedBrowser
means that TOTP will not be asked for trusted browsers