logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: e73cb423b606cdb95fec7408089a428dcf4902f5
parent e47d5ba53b7d619bdb83f85b88feadccc8877eab
Author: Henry Jameson <me@hjkos.com>
Date:   Sun, 25 Apr 2021 14:44:07 +0300

fix login form

Diffstat:

Msrc/components/auth_form/auth_form.js5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 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 () {