includes/sessions.php
changeset 1089 16a1e8626dd9
parent 1084 742cb0f10766
child 1101 30d8bb88572d
--- a/includes/sessions.php	Fri Aug 21 13:48:48 2009 -0400
+++ b/includes/sessions.php	Fri Aug 21 13:49:45 2009 -0400
@@ -835,7 +835,10 @@
           'success' => false,
           'error' => 'too_big_for_britches'
         );
+      
+      // grant session
       $sess = $this->register_session($row['user_id'], $username, ( isset($password_hmac) ? $password_hmac : $password ), $level, $remember);
+      
       if($sess)
       {
         if($level > USER_LEVEL_MEMBER)