Permalink
Browse files

Missed this on merge.

  • Loading branch information...
sergeychernyshev committed Sep 17, 2016
1 parent 6f563a5 commit e2c7c8e11ad1afb8925695f2d7f50b9345bee3a9
Showing with 1 addition and 7 deletions.
  1. +1 −7 register.php
View
@@ -31,13 +31,7 @@
throw new StartupAPIException('Invitation code is invalid');
}
$storage = new MrClay_CookieStorage(array(
'secret' => UserConfig::$SESSION_SECRET,
'path' => UserConfig::$SITEROOTURL,
'expire' => 0,
'httponly' => true
));
$storage->store(UserConfig::$invitation_code_key, $code);
$_SESSION[UserConfig::$invitation_code_key] = $code;
}
try {

0 comments on commit e2c7c8e

Please sign in to comment.