Ticket #177 (fixed bug)
1.4.2 sets a bad cookie after registering.
- Created: 2010-11-05 00:45:02
- Reported by: Sosukodo
- Assigned to: Reines
- Milestone: 1.4.3
- Component: usability
- Priority: high
Some of you may have found that the auto-login doesn't happen after registering. This is because on line 160 in register.php:
$new_uid = $db->insert_id();
seems to return an integer in this case.
Comparing 2 cookies:
auto-login after registering:
The UID on the invalid (auto-login failure) is an integer while the latter is a string.
Changing line 160 in register.php to:
$new_uid = "".$db->insert_id();
Seems to solve the problem and the auto-login after registration succeeds.
Reines 2010-11-08 15:57:08
- Milestone set to 1.4.3.
- Owner set to Reines.
- Priority changed from normal to high.
Thanks for the report, I'll sort this soon and it will be fixed in 1.4.3.
Reines 2010-11-08 16:55:33
- Status changed from open to fixed.
Should now be fixed: https://github.com/fluxbb/fluxbb/commit … 6526829167