We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 3f238e4e authored by Evan Prodromou's avatar Evan Prodromou

redirect if you're already logged in.

parent 17adc94d
......@@ -164,6 +164,13 @@ class EmailregisterAction extends Action
function handle($argarray=null)
{
$cur = common_current_user();
if (!empty($cur)) {
common_redirect(common_local_url('all', array('nickname' => $cur->nickname)));
return;
}
switch ($this->state) {
case self::NEWREGISTER:
$this->showRegistrationForm();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment