Update documentation

This commit is contained in:
knotteye
2020-10-16 22:25:24 -05:00
parent 95837beaf7
commit 54a891dac1
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
<title>{{ sitename }}</title>
<script>
//should check for and refresh login tokens on pageload..
if(document.cookie.match(/^(.*;)?\s*Authorization\s*=\s*[^;]+(.*)?$/) !== null) {
if(document.cookie.match(/^(.*;)?\s*X-Auth-As\s*=\s*[^;]+(.*)?$/) !== null) {
var xhr = new XMLHttpRequest();
xhr.open("POST", "/api/login", true);
xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");