Update documentation

This commit is contained in:
knotteye committed 2020-10-16 22:25:24 -05:00
1 parent 95837beaf7
commit 54a891dac1
2 files changed
+2 -2

No files matched your search

+1 -1
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");