Fix login with oauth (#2935)
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -58,6 +58,8 @@ window.localisation.en = {
|
||||
currency: 'Currency',
|
||||
update_currency: 'Update currency',
|
||||
press_to_claim: 'Press to claim bitcoin',
|
||||
claim_desc:
|
||||
'It seems you have a claimable amount of bitcoin but you don’t have a wallet yet. Press the button below to claim it. This will create a new wallet for you.',
|
||||
donate: 'Donate',
|
||||
view_github: 'View on GitHub',
|
||||
voidwallet_active: 'VoidWallet is active! Payments disabled',
|
||||
@@ -270,7 +272,8 @@ window.localisation.en = {
|
||||
login_to_account: 'Login to your account',
|
||||
create_account: 'Create account',
|
||||
account_settings: 'Account Settings',
|
||||
signin_with_oauth: 'or Login with',
|
||||
signin_with_oauth: 'Login with',
|
||||
signin_with_oauth_or: 'or Login with',
|
||||
signin_with_nostr: 'Continue with Nostr',
|
||||
signin_with_google: 'Sign in with Google',
|
||||
signin_with_github: 'Sign in with GitHub',
|
||||
|
||||
@@ -523,7 +523,7 @@ window.app.component('user-id-only', {
|
||||
this.$emit('show-register', method)
|
||||
},
|
||||
loginUsr() {
|
||||
this.$emit('update:user', this.user)
|
||||
this.$emit('update:usr', this.user)
|
||||
this.$emit('login-usr')
|
||||
},
|
||||
createWallet() {
|
||||
@@ -599,9 +599,7 @@ window.app.component('username-password', {
|
||||
return this.oauth.some(m => this.authMethods.includes(m))
|
||||
}
|
||||
},
|
||||
created() {
|
||||
console.log('username-password created', this.passwordRepeat)
|
||||
}
|
||||
created() {}
|
||||
})
|
||||
|
||||
window.app.component('separator-text', {
|
||||
|
||||
@@ -20,9 +20,7 @@ window.app = Vue.createApp({
|
||||
password: '',
|
||||
passwordRepeat: '',
|
||||
walletName: '',
|
||||
signup: false,
|
||||
slide: 1,
|
||||
autoplay: true
|
||||
signup: false
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -177,7 +175,6 @@ window.app = Vue.createApp({
|
||||
}
|
||||
},
|
||||
created() {
|
||||
console.log(Quasar.LocalStorage.getItem('lnbits.disclaimerShown'))
|
||||
this.description = SITE_DESCRIPTION
|
||||
this.isUserAuthorized = !!this.$q.cookies.get('is_lnbits_user_authorized')
|
||||
if (this.isUserAuthorized) {
|
||||
|
||||
Reference in New Issue
Block a user