aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-04-25 14:44:07 +0300
committerHenry Jameson <me@hjkos.com>2021-04-25 14:44:07 +0300
commite73cb423b606cdb95fec7408089a428dcf4902f5 (patch)
tree9692a5092ec3094a34c8a6ce864f8690fa13f61d
parente47d5ba53b7d619bdb83f85b88feadccc8877eab (diff)
fix login form
-rw-r--r--src/components/auth_form/auth_form.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/auth_form/auth_form.js b/src/components/auth_form/auth_form.js
index e9a6e2d5..a86a3dca 100644
--- a/src/components/auth_form/auth_form.js
+++ b/src/components/auth_form/auth_form.js
@@ -1,3 +1,4 @@
+import { h, resolveComponent } from 'vue'
import LoginForm from '../login_form/login_form.vue'
import MFARecoveryForm from '../mfa_form/recovery_form.vue'
import MFATOTPForm from '../mfa_form/totp_form.vue'
@@ -5,8 +6,8 @@ import { mapGetters } from 'vuex'
const AuthForm = {
name: 'AuthForm',
- render (createElement) {
- return createElement('component', { is: this.authForm })
+ render () {
+ return h(resolveComponent(this.authForm))
},
computed: {
authForm () {