wikijs-fork/client/store/site.js
Nicolas Giard c009cc1392
feat: new login experience (#2139)
* feat: multiple auth instances

* fix: auth setup + strategy initialization

* feat: admin auth - add strategy

* feat: redirect on login - group setting

* feat: oauth2 generic - props definitions

* feat: new login UI (wip)

* feat: new login UI (wip)

* feat: admin security login settings

* feat: tabset editor indicators + print view improvements

* fix: code styling
2020-07-03 19:36:33 -04:00

25 lines
488 B
JavaScript

import { make } from 'vuex-pathify'
/* global siteConfig */
const state = {
company: siteConfig.company,
contentLicense: siteConfig.contentLicense,
dark: siteConfig.darkMode,
mascot: true,
title: siteConfig.title,
logoUrl: siteConfig.logoUrl,
search: '',
searchIsFocused: false,
searchIsLoading: false,
searchRestrictLocale: false,
searchRestrictPath: false,
printView: false
}
export default {
namespaced: true,
state,
mutations: make.mutations(state)
}