Skip to content

Commit

Permalink
Now session id can be put in cookie or http header
Browse files Browse the repository at this point in the history
  • Loading branch information
RadhiFadlillah committed Aug 13, 2019
1 parent 86eb8d9 commit 9616164
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 26 deletions.
2 changes: 1 addition & 1 deletion internal/view/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
})
.then(json => {
// Save account data
localStorage.setItem("shiori-account", JSON.stringify(json));
localStorage.setItem("shiori-account", JSON.stringify(json.account));

// Go to destination page
var dst = (new Url).query.dst;
Expand Down
Loading

0 comments on commit 9616164

Please sign in to comment.