mirror of
https://git.waldn.net/git/knotteye/satyr.git
synced 2026-11-20 21:19:05 +00:00
Update documentation
This commit is contained in:
1 parent
95837beaf7
commit
54a891dac1
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user