Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #11 from zekroTJA/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
zekroTJA authored Oct 20, 2018
2 parents 59c53f2 + 400d3c5 commit 35292e8
Show file tree
Hide file tree
Showing 4 changed files with 732 additions and 660 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ WebApiClient/YuriClient/obj/*
*/packages/*
WebApiClient/.vs/*
config.json
expose/*
4 changes: 3 additions & 1 deletion src/core/webinterface/login.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
function saveToken() {
if (cbsavetoken.checked) {
document.cookie = `logintoken=${tbtoken.value};`;
let d = new Date();
d.setTime(d.getTime() + (90 * 24 * 3600 * 1000))
document.cookie = `logintoken=${tbtoken.value};expires=${d.toUTCString()};`;
}
}
</script>
Loading

0 comments on commit 35292e8

Please sign in to comment.