mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-31 11:10:30 +00:00
Adding a QRCode with the user's information
QRCode retrieved from Google APIs, and parsed with json like that:
{address:"",user:"",key:""}
This commit is contained in:
parent
89160919f4
commit
695bb301f4
1 changed files with 5 additions and 0 deletions
|
|
@ -35,6 +35,11 @@
|
|||
|
||||
<h6>API Token</h6>
|
||||
<pre class=prettyprint>{_user.apiToken}</pre>
|
||||
|
||||
<h6>QR Code</h6>
|
||||
<img src='https://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=
|
||||
%7Baddress%3A%22https%3A%2F%2Fhabitrpg.com%22%2Cuser%3A%22{_user.id}%22%2Ckey%3A%22{_user.apiToken}%22%7D,&choe=UTF-8&chld=L' alt="qrcode"/>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue