Skip to content

Commit 6a15b14

Browse files
committed
Fix login destination URL redirect
SpaceMan uses 'dest' for the target URL, while novabar was using 'target'. This makes novabar use SpaceMan's 'dest' form variable. (written by warewulf)
1 parent 43fb3b0 commit 6a15b14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html/novabar/novabar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jQuery(document).ready( function($) {
6161
//tb += '<button class="novabar-button" type="submit">Sign in</button>';
6262
//tb += '</form>';
6363
tb += '<li><a href="https://www.nova-labs.org/auth/register.html">Register</a></li>';
64-
tb += '<li><a href="https://www.nova-labs.org/auth/login.html?target=' + location.href + '">Log In</a></li>';
64+
tb += '<li><a href="https://www.nova-labs.org/auth/login.html?dest=' + location.href + '">Log In</a></li>';
6565
}
6666
tb += '</ul>';
6767

0 commit comments

Comments
 (0)