Fix dashboard logout button and py3.8 removed hmac.new digestmod (#1156)

* Fix dashboard logout button and py3.8 removed hmac.new digestmod

* Just use SHA256

No reason to use HMAC here, as authenticity is not an issue

* Wrong branch

* Clenaup
This commit is contained in:
Otto Winter
2020-07-24 11:10:09 +02:00
committed by GitHub
parent 50cf57affb
commit c030be4d3f
3 changed files with 21 additions and 6 deletions
+3 -1
View File
@@ -52,7 +52,9 @@
<li><a data-action="update-all" data-filename="{{ escape(config_dir) }}">Update All</a></li>
<li><a data-action="edit" data-filename="secrets.yaml">Secrets Editor</a></li>
<li class="divider"></li>
<li><a href="{{ relative_url }}logout">Logout</a></li>
{% if login_enabled %}
<li><a href="{{ relative_url }}logout">Logout</a></li>
{% end %}
</ul>
</nav>
</div>