aboutsummaryrefslogtreecommitdiff
path: root/src/boot/after_store.js
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2018-11-07 16:56:12 +0100
committerRoger Braun <roger@rogerbraun.net>2018-11-07 16:56:12 +0100
commit50264410f541c8f9f3416bd0027fc199cb96e424 (patch)
tree70596ee399c44bb5052f13d85964e31fa051f04d /src/boot/after_store.js
parentbcbaf5d7ee970a1bd35e05ad12f4dfbb00f4282e (diff)
Add login form back in.
Diffstat (limited to 'src/boot/after_store.js')
-rw-r--r--src/boot/after_store.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/boot/after_store.js b/src/boot/after_store.js
index 65d1ea02..6b8aef7f 100644
--- a/src/boot/after_store.js
+++ b/src/boot/after_store.js
@@ -53,6 +53,7 @@ const afterStoreSetup = ({store, i18n}) => {
var scopeOptionsEnabled = (config.scopeOptionsEnabled)
var formattingOptionsEnabled = (config.formattingOptionsEnabled)
var collapseMessageWithSubject = (config.collapseMessageWithSubject)
+ var loginMethod = (config.loginMethod)
store.dispatch('setInstanceOption', { name: 'theme', value: theme })
store.dispatch('setInstanceOption', { name: 'background', value: background })
@@ -67,6 +68,7 @@ const afterStoreSetup = ({store, i18n}) => {
store.dispatch('setInstanceOption', { name: 'scopeOptionsEnabled', value: scopeOptionsEnabled })
store.dispatch('setInstanceOption', { name: 'formattingOptionsEnabled', value: formattingOptionsEnabled })
store.dispatch('setInstanceOption', { name: 'collapseMessageWithSubject', value: collapseMessageWithSubject })
+ store.dispatch('setInstanceOption', { name: 'loginMethod', value: loginMethod })
if (chatDisabled) {
store.dispatch('disableChat')
}