Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
thejhh committed Jun 6, 2012
1 parent e58af24 commit 634dc93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/main.js
Expand Up @@ -296,6 +296,7 @@ require(["jquery", "moment", "bootstrap", "showdown", "jquery.cookies"], functio
var expires = new Date();
expires.setTime( expires.getTime() + 10*365*24*60*60*1000 );
$.cookies.set(config.GLOBAL_AUTH_COOKIE_NAME, pw, { expires: expires, path:'/', domain:config.COOKIE_DOMAIN });
window.location.reload();
} else {
alert("Server doesn't use authentication.");
}
Expand Down

0 comments on commit 634dc93

Please sign in to comment.