Skip to content

Commit

Permalink
login: Prevent unintended cookie deletion when Yona restarted
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Sep 24, 2017
1 parent 2f6fc6a commit ea70650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/UserApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ private static User getUserFromToken() {
}

private static User invalidSession() {
processLogout();
session().clear();
return User.anonymous;
}

Expand Down

0 comments on commit ea70650

Please sign in to comment.