This commit is contained in:
aymm 2021-05-10 21:35:50 +02:00
parent 72fb3ede13
commit 80f7f921ce
Signed by: phlaym
GPG Key ID: A06651BAB6777237

View File

@ -27,7 +27,7 @@ function get_page_header(
$logout_link = '<a href="logout.php" class="logout">Logout</a>';
} else {
$newpoll_class = 'disabled';
$greeting = '<a href="' . $api->getAuthURL() . '">Login with pnut</a>';
$greeting = '<a href="' . $api->getAuthURL('?from=' . $_SERVER['REQUEST_URI']) . '">Login with pnut</a>';
}
$title = '';
if ($include_app_name) {