Skip to content

Commit

Permalink
Merge branch 'master' into goto_user
Browse files Browse the repository at this point in the history
  • Loading branch information
turnermm committed Sep 26, 2020
2 parents e71d2b9 + 35aec04 commit f383ea9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion action.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function handle_act(Doku_Event $event, $param) {
$user = $_SERVER['REMOTE_USER'];
if(!$user) return;
$auto_login = $this->getConf('auto_login');
if(!$auto_login) {
if(!$auto_login) {
return;
}

Expand Down
5 changes: 2 additions & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ function goto_redirect(which,mode) {
which = which.replace(/user/, user);
}
location.href = which;

clearTimeout(goto_tm);
setGotoCookie("GOTO_LOGIN", "") ;


setGotoCookie("GOTO_LOGIN", "") ;
}
function goto_getCookie(name) {
var re = new RegExp(name + "=([^;]+)");
Expand Down

0 comments on commit f383ea9

Please sign in to comment.