From 8f39655fef4d66fb4a5d645b97e3a23cc7865272 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 7 Nov 2018 12:09:24 +0900 Subject: Fix bug --- src/client/app/common/views/components/signup.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client') diff --git a/src/client/app/common/views/components/signup.vue b/src/client/app/common/views/components/signup.vue index d743202c27..42d6d23fb4 100644 --- a/src/client/app/common/views/components/signup.vue +++ b/src/client/app/common/views/components/signup.vue @@ -35,7 +35,7 @@

%i18n:@password-not-matched%

-
+
%i18n:@create% @@ -130,7 +130,7 @@ export default Vue.extend({ username: this.username, password: this.password, invitationCode: this.invitationCode, - 'g-recaptcha-response': this.meta.recaptchaSiteKey != null ? (window as any).grecaptcha.getResponse() : null + 'g-recaptcha-response': this.meta.enableRecaptcha ? (window as any).grecaptcha.getResponse() : null }, true).then(() => { (this as any).api('signin', { username: this.username, @@ -141,7 +141,7 @@ export default Vue.extend({ }).catch(() => { alert('%i18n:@some-error%'); - if (this.meta.recaptchaSiteKey != null) { + if (this.meta.enableRecaptcha) { (window as any).grecaptcha.reset(); } }); -- cgit v1.2.3-freya