Skip to content

Commit 4d39237

Browse files
committed
fix redirect url
1 parent 5108f3e commit 4d39237

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Routes/Account.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public static function respondToLogin() {
172172
Session::start($_POST['username']);
173173
$user = User::getUser($_POST['username']);
174174
if (!isset($_POST['redirect_uri']) || $_POST['redirect_uri'] === '') {
175-
header("Location: /dashboard/#webId=" . urlencode($user['webId']));
175+
header("Location: /dashboard/#webID/" . urlencode($user['webId']));
176176
exit();
177177
}
178178
header("Location: " . urldecode($_POST['redirect_uri'])); // FIXME: Do we need to harden this?

0 commit comments

Comments
 (0)