diff --git a/auth.php b/auth.php index 6dbbd96..6c6a774 100644 --- a/auth.php +++ b/auth.php @@ -11,7 +11,7 @@ class auth The url is the caller url to go back if authentication is correct @param string|null $message Message to display to the user @param string|null $url URL to go back after successful authentication */ - public function pageHTML ($baseURL, $message="", $url="") + public function pageHTML ($baseURL, $message="", $url="", $alreadyAuth=false) { $res = ""; $res .= "\n"; @@ -77,21 +77,32 @@ class auth else $res .= $baseURL."authentication/$url"; $res .= "'>\n"; - $res .= "
".dgettext ("domframework", "Click here to logout")."
\n"; + + } if ($message !== "") $res .= "