nodebb-plugin-2factor/plugin.json

39 lines
1.3 KiB
JSON
Raw Permalink Normal View History

2014-06-04 16:08:24 -04:00
{
2015-07-27 18:48:36 -04:00
"id": "nodebb-plugin-2factor",
"url": "https://github.com/julianlam/nodebb-plugin-2factor",
2014-06-04 16:08:24 -04:00
"library": "./library.js",
"hooks": [
2015-03-13 14:07:48 -04:00
{ "hook": "static:app.load", "method": "init" },
{ "hook": "static:api.routes", "method": "addRoutes" },
{ "hook": "filter:config.get", "method": "appendConfig" },
2015-07-27 18:48:36 -04:00
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "filter:user.profileMenu", "method": "addProfileItem" },
{ "hook": "response:router.page", "method": "check" },
{ "hook": "filter:middleware.buildHeader", "method": "overrideUid" },
2016-05-04 09:56:49 -04:00
{ "hook": "static:user.loggedOut", "method": "clearSession" },
{ "hook": "static:sockets.validateSession", "method": "checkSocket" },
{ "hook": "response:auth.relogin", "method": "adjustRelogin" },
{ "hook": "response:plugin.write-api.route", "method": "integrations.writeApi" }
2014-06-04 16:08:24 -04:00
],
"staticDirs": {
"static": "./static"
},
"scss": [
"static/style.scss"
2014-06-04 16:08:24 -04:00
],
"scripts": [
"static/lib/main.js"
],
2022-02-23 10:52:03 -05:00
"modules": {
"../admin/plugins/2factor.js": "./static/lib/admin.js",
"../client/login-totp.js": "./static/lib/totp.js",
"../client/login-authn.js": "./static/lib/authn.js",
"../client/login-backup.js": "./static/lib/backup.js",
2022-02-23 10:52:03 -05:00
"../client/account/2factor.js": "./static/lib/settings.js"
},
2015-08-20 13:32:15 -04:00
"templates": "static/templates",
2015-12-17 18:20:37 -05:00
"languages": "languages",
2017-06-21 15:44:04 -04:00
"defaultLang": "en-GB"
2016-01-19 14:09:44 -05:00
}