diff --git a/ui/src/views/Settings.vue b/ui/src/views/Settings.vue index 38f7952..76cc4af 100644 --- a/ui/src/views/Settings.vue +++ b/ui/src/views/Settings.vue @@ -61,6 +61,48 @@ $t("settings.enabled") }} + + + + + + + + @@ -125,6 +167,10 @@ export default { host: "", isLetsEncryptEnabled: false, isHttpToHttpsEnabled: true, + ADMIN_USER: "", + ADMIN_NAME: "", + ADMIN_EMAIL: "", + ADMIN_PASSWORD: "", loading: { getConfiguration: false, configureModule: false, @@ -135,6 +181,10 @@ export default { host: "", lets_encrypt: "", http2https: "", + ADMIN_USER: "", + ADMIN_NAME: "", + ADMIN_EMAIL: "", + ADMIN_PASSWORD: "", }, }; }, @@ -202,6 +252,10 @@ export default { this.host = config.host; this.isLetsEncryptEnabled = config.lets_encrypt; this.isHttpToHttpsEnabled = config.http2https; + this.ADMIN_USER = config.ADMIN_USER; + this.ADMIN_NAME = config.ADMIN_NAME; + this.ADMIN_EMAIL = config.ADMIN_EMAIL; + this.ADMIN_PASSWORD = config.ADMIN_PASSWORD; this.loading.getConfiguration = false; this.focusElement("host"); @@ -271,6 +325,10 @@ export default { host: this.host, lets_encrypt: this.isLetsEncryptEnabled, http2https: this.isHttpToHttpsEnabled, + ADMIN_USER: this.ADMIN_USER, + ADMIN_NAME: this.ADMIN_NAME, + ADMIN_EMAIL: this.ADMIN_EMAIL, + ADMIN_PASSWORD: this.ADMIN_PASSWORD, }, extra: { title: this.$t("settings.instance_configuration", {