diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-07 00:08:21 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-07 00:08:21 +0900 |
| commit | a6f8327aa263022ed5d079f8e413bb17480feb7b (patch) | |
| tree | e0f75658f50da107627b838b10832764e71c192c /src/client/app/common | |
| parent | 10.42.2 (diff) | |
| download | misskey-a6f8327aa263022ed5d079f8e413bb17480feb7b.tar.gz misskey-a6f8327aa263022ed5d079f8e413bb17480feb7b.tar.bz2 misskey-a6f8327aa263022ed5d079f8e413bb17480feb7b.zip | |
reCAPTCHAの設定をDBに保存するように
Diffstat (limited to 'src/client/app/common')
| -rw-r--r-- | src/client/app/common/views/components/signup.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/app/common/views/components/signup.vue b/src/client/app/common/views/components/signup.vue index fa26eabc91..91a09e14fb 100644 --- a/src/client/app/common/views/components/signup.vue +++ b/src/client/app/common/views/components/signup.vue @@ -35,7 +35,7 @@ <p v-if="passwordRetypeState == 'not-match'" style="color:#FF1161"><fa icon="exclamation-triangle" fixed-width/> %i18n:@password-not-matched%</p> </div> </ui-input> - <div v-if="meta.recaptchaSitekey != null" class="g-recaptcha" :data-sitekey="meta.recaptchaSitekey" style="margin: 16px 0;"></div> + <div v-if="meta.recaptchaSiteKey != null" class="g-recaptcha" :data-sitekey="meta.recaptchaSiteKey" style="margin: 16px 0;"></div> <ui-button type="submit">%i18n:@create%</ui-button> </template> </form> @@ -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.recaptchaSiteKey != null ? (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.recaptchaSiteKey != null) { (window as any).grecaptcha.reset(); } }); |