]> git.openstreetmap.org Git - rails.git/commit
Only treat a user as logged in if the user object has an id value - this
authorTom Hughes <tom@compton.nu>
Thu, 21 Jun 2007 22:50:17 +0000 (22:50 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 21 Jun 2007 22:50:17 +0000 (22:50 +0000)
commit6020e0519e20580364374d209420d519181621b2
tree065c418d3531b17fd19abbe5d47222039e40f320
parent82843524366aaca76cdb58b6f7ecb25e0af769fb
Only treat a user as logged in if the user object has an id value - this
avoids problem when creating an account fails and leaves an unsaved user
object with no id value.
app/views/layouts/site.rhtml