mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-29 05:12:39 +02:00
Hidden api keys to prevent over shoulder attacks
This commit is contained in:
@@ -4,6 +4,11 @@
|
|||||||
label="API info"
|
label="API info"
|
||||||
:content-inset-level="0.5"
|
:content-inset-level="0.5"
|
||||||
>
|
>
|
||||||
|
<q-card-section>
|
||||||
|
<strong>Wallet ID: </strong><em>{{ wallet.id }}</em><br />
|
||||||
|
<strong>Admin key: </strong><em>{{ wallet.adminkey }}</em><br />
|
||||||
|
<strong>Invoice/read key: </strong><em>{{ wallet.inkey }}</em>
|
||||||
|
</q-card-section>
|
||||||
<q-expansion-item
|
<q-expansion-item
|
||||||
group="api"
|
group="api"
|
||||||
dense
|
dense
|
||||||
|
@@ -220,14 +220,13 @@
|
|||||||
<div class="col-12 col-md-5 q-gutter-y-md">
|
<div class="col-12 col-md-5 q-gutter-y-md">
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<h6 class="text-subtitle1 q-mt-none q-mb-sm">LNbits wallet</h6>
|
<h6 class="text-subtitle1 q-mt-none q-mb-sm">
|
||||||
<strong>Wallet name: </strong><em>{{ wallet.name }}</em><br />
|
LNbits wallet: <strong><em>{{ wallet.name }}</em></strong>
|
||||||
<strong>Wallet ID: </strong><em>{{ wallet.id }}</em><br />
|
</h6>
|
||||||
<strong>Admin key: </strong><em>{{ wallet.adminkey }}</em><br />
|
|
||||||
<strong>Invoice/read key: </strong><em>{{ wallet.inkey }}</em>
|
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<q-card-section class="q-pa-none">
|
<q-card-section class="q-pa-none">
|
||||||
<q-separator></q-separator>
|
<q-separator></q-separator>
|
||||||
|
|
||||||
<q-list>
|
<q-list>
|
||||||
{% include "core/_api_docs.html" %}
|
{% include "core/_api_docs.html" %}
|
||||||
<q-separator></q-separator>
|
<q-separator></q-separator>
|
||||||
@@ -238,7 +237,10 @@
|
|||||||
>
|
>
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<p>This QR code contains your wallet URL with full access. You can scan it from your phone to open your wallet from there.</p>
|
<p>
|
||||||
|
This QR code contains your wallet URL with full access. You
|
||||||
|
can scan it from your phone to open your wallet from there.
|
||||||
|
</p>
|
||||||
<qrcode
|
<qrcode
|
||||||
:value="'{{request.url_root}}'+'wallet?usr={{user.id}}&wal={{wallet.id}}'"
|
:value="'{{request.url_root}}'+'wallet?usr={{user.id}}&wal={{wallet.id}}'"
|
||||||
:options="{width:240}"
|
:options="{width:240}"
|
||||||
|
Reference in New Issue
Block a user