forked from NodeBB/nodebb-plugin-2factor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
26 lines (26 loc) · 750 Bytes
/
plugin.json
File metadata and controls
26 lines (26 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"id": "nodebb-plugin-2factor",
"url": "https://github.com/NodeBB/nodebb-plugin-2factor",
"library": "./library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "filter:user.profileLinks", "method": "addProfileItem" },
{ "hook": "filter:router.page", "method": "check" },
{ "hook": "action:user.loggedOut", "method": "clearSession" },
{ "hook": "filter:parse.title", "method": "updateTitle" }
],
"staticDirs": {
"static": "./static"
},
"less": [
"static/style.less"
],
"scripts": [
"static/lib/login.js",
"static/lib/admin.js",
"static/lib/settings.js"
],
"templates": "static/templates",
"languages": "languages"
}