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,
|
||||
fiat_providers: data.fiat_providers || [],
|
||||
super_user: data.super_user,
|
||||
extra: data.extra ?? {}
|
||||
extra: data.extra ?? {},
|
||||
hasPassword: data.has_password ?? false
|
||||
}
|
||||
const mapWallet = this.wallet
|
||||
obj.wallets = obj.wallets.map(mapWallet).sort((a, b) => {
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
class="q-mb-md"
|
||||
></q-input>
|
||||
<q-input
|
||||
v-if="g.user.has_password"
|
||||
v-if="g.user.hasPassword"
|
||||
v-model="credentialsData.oldPassword"
|
||||
type="password"
|
||||
autocomplete="off"
|
||||
|
||||
Reference in New Issue
Block a user