Skip to content

Commit

Permalink
redirect to account page after registration
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Girard committed Apr 16, 2008
1 parent 3a6e0a1 commit 182589b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHP-server-1.1/src/render.php
Expand Up @@ -235,7 +235,7 @@ function render_register($method, &$request, &$template)

Server_setAccount($request['username']);
Server_addMessage("Registration successful; welcome, ".$request['username']."!");
Server_redirect(getServerURL());
Server_redirect(getServerURL()."?action=account");
} else {
$template->addError('Sorry; that username is already taken!');
}
Expand Down

0 comments on commit 182589b

Please sign in to comment.