UNPKG

nodebb-plugin-2factor

Version:

In addition to regular authentication via username/password or SSO, a second layer of security can be configured, permitting access only if:

12 lines (8 loc) 174 B
'use strict'; define('forum/login-backup', function () { var Plugin = {}; Plugin.init = function () { document.getElementById('code').focus(); }; return Plugin; });