fix: password reset from UI (#3712)
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -13,7 +13,8 @@ window.LNbits = {
|
|||||||
wallets: data.wallets,
|
wallets: data.wallets,
|
||||||
fiat_providers: data.fiat_providers || [],
|
fiat_providers: data.fiat_providers || [],
|
||||||
super_user: data.super_user,
|
super_user: data.super_user,
|
||||||
extra: data.extra ?? {}
|
extra: data.extra ?? {},
|
||||||
|
hasPassword: data.has_password ?? false
|
||||||
}
|
}
|
||||||
const mapWallet = this.wallet
|
const mapWallet = this.wallet
|
||||||
obj.wallets = obj.wallets.map(mapWallet).sort((a, b) => {
|
obj.wallets = obj.wallets.map(mapWallet).sort((a, b) => {
|
||||||
|
|||||||
@@ -120,7 +120,7 @@
|
|||||||
class="q-mb-md"
|
class="q-mb-md"
|
||||||
></q-input>
|
></q-input>
|
||||||
<q-input
|
<q-input
|
||||||
v-if="g.user.has_password"
|
v-if="g.user.hasPassword"
|
||||||
v-model="credentialsData.oldPassword"
|
v-model="credentialsData.oldPassword"
|
||||||
type="password"
|
type="password"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
|
|||||||
Reference in New Issue
Block a user