aboutsummaryrefslogtreecommitdiff
path: root/front-end/src/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'front-end/src/main.ts')
-rw-r--r--front-end/src/main.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/front-end/src/main.ts b/front-end/src/main.ts
index c5be406..2f2ca8e 100644
--- a/front-end/src/main.ts
+++ b/front-end/src/main.ts
@@ -30,6 +30,7 @@ import { mfaSettingsPlugin } from './store/mfaSettingsPlugin'
import { socialMfaPlugin } from './store/socialMfaPlugin'
import { bookmarkPlugin } from './store/bookmarks'
import { registationPlugin } from './store/registation';
+import { siteLookupPlugin } from './store/websiteLookup';
//Setup the vnlib api
configureApi({
@@ -67,9 +68,10 @@ store.use(profilePlugin('/account/profile'))
//Enable mfa with totp settings plugin (optional pki config)
.use(mfaSettingsPlugin('/account/mfa', '/account/pki'))
//Setup social mfa plugin
- .use(socialMfaPlugin())
+ .use(socialMfaPlugin("/account/social/portals"))
//Add the oauth2 apps plugin
.use(bookmarkPlugin('/bookmarks'))
+ .use(siteLookupPlugin('/lookup', 2000))
.use(registationPlugin('/register'))
//Setup oauth apps plugin (disabled for now)
//.use(oauth2AppsPlugin('/oauth/apps', '/oauth/scopes'))