Fix problem with whitespaces in copied token
This commit is contained in:
parent
e2d438134a
commit
8302aedaa7
@ -8,9 +8,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<p class="label">Token</p>
|
<p class="label">Token</p>
|
||||||
<div class="flex justify-between">
|
<div class="flex justify-between">
|
||||||
<span class='chip ~info !normal'>
|
<span class='chip ~info !normal'>{{request.user.api_token}}</span>
|
||||||
{{request.user.api_token}}
|
|
||||||
</span>
|
|
||||||
<a class="href" href="{% url 'dashboard:api_token_refresh' %}">
|
<a class="href" href="{% url 'dashboard:api_token_refresh' %}">
|
||||||
<button type="submit" class="button ~warning !high">Refresh token</button>
|
<button type="submit" class="button ~warning !high">Refresh token</button>
|
||||||
</a>
|
</a>
|
||||||
|
@ -33,9 +33,7 @@
|
|||||||
<hr class="sep h-4">
|
<hr class="sep h-4">
|
||||||
<div>
|
<div>
|
||||||
<p class="label">API Token</p>
|
<p class="label">API Token</p>
|
||||||
<span class='chip ~info !normal'>
|
<span class='chip ~info !normal'>{{request.user.api_token}}</span>
|
||||||
{{request.user.api_token}}
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user