Added TwoFactor Authentication (RFC4226) #383

merged 1 commit into from Dec 28, 2014


None yet

2 participants

f0o commented Dec 28, 2014

Tested against Google-Authenticator app on Android 4.4.4

Related: #365
Rebase from: #382

@f0o f0o Added TwoFactor Authentication (RFC4226)
Tested against Google-Authenticator app on Android 4.4.4

Made `verify_hotp` more efficient.

Added autofocus on twofactor input

Added GUI Unlock and Remove for TwoFactor credentials in /edituser/

Allow additional tries after elapsed time from last try exceeds configured parameter `$config['twofactor_lock']`.
If `$config['twofactor_lock']` is not defined or is set to `0`, administrators have to unlock accounts that exceed 3 failures via GUI.

Added Documentation

Moved TwoFactor form to
Disabled autocomplete on twofactor input field
Updated Docs to include link to Google-Authenticator's install-guides

Moved authentication logic from to twofactor.lib.php

typo in docblock for `twofactor_auth()`

Fixed scrutinizer bugs

To please scrutinizer
@laf laf merged commit e0b4562 into librenms:master Dec 28, 2014

1 check passed

Scrutinizer 12 new issues
@f0o f0o referenced this pull request Dec 28, 2014

2-Factor-Auth (TOTP/HOTP) #365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment