2014-06-04 16:08:24 -04:00
|
|
|
{
|
2015-07-27 18:48:36 -04:00
|
|
|
"id": "nodebb-plugin-2factor",
|
2021-09-06 11:43:10 +02:00
|
|
|
"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" },
|
2022-01-07 13:48:19 -05:00
|
|
|
{ "hook": "static:api.routes", "method": "addRoutes" },
|
2024-10-04 11:56:44 -04:00
|
|
|
{ "hook": "filter:config.get", "method": "appendConfig" },
|
2015-07-27 18:48:36 -04:00
|
|
|
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
|
2016-12-05 10:54:22 -05:00
|
|
|
{ "hook": "filter:user.profileMenu", "method": "addProfileItem" },
|
2021-04-23 10:41:37 -04:00
|
|
|
{ "hook": "response:router.page", "method": "check" },
|
2023-01-10 11:44:03 -05:00
|
|
|
{ "hook": "filter:middleware.buildHeader", "method": "overrideUid" },
|
2016-05-04 09:56:49 -04:00
|
|
|
{ "hook": "static:user.loggedOut", "method": "clearSession" },
|
2020-04-14 16:29:03 -04:00
|
|
|
{ "hook": "static:sockets.validateSession", "method": "checkSocket" },
|
2020-12-11 11:56:36 -05:00
|
|
|
{ "hook": "response:auth.relogin", "method": "adjustRelogin" },
|
|
|
|
|
2020-04-14 16:29:03 -04:00
|
|
|
{ "hook": "response:plugin.write-api.route", "method": "integrations.writeApi" }
|
2014-06-04 16:08:24 -04:00
|
|
|
],
|
|
|
|
"staticDirs": {
|
|
|
|
"static": "./static"
|
|
|
|
},
|
2022-09-16 20:57:58 -04:00
|
|
|
"scss": [
|
|
|
|
"static/style.scss"
|
2014-06-04 16:08:24 -04:00
|
|
|
],
|
2024-04-02 11:43:03 -04:00
|
|
|
"scripts": [
|
|
|
|
"static/lib/main.js"
|
|
|
|
],
|
2022-02-23 10:52:03 -05:00
|
|
|
"modules": {
|
|
|
|
"../admin/plugins/2factor.js": "./static/lib/admin.js",
|
2022-05-30 17:19:16 -04:00
|
|
|
"../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
|
|
|
}
|