]> git.openstreetmap.org Git - rails.git/commit
Don't reset the session when the token refers to an invalid user
authorTom Hughes <tom@compton.nu>
Mon, 7 Nov 2011 21:40:42 +0000 (21:40 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 14 Nov 2011 09:42:59 +0000 (09:42 +0000)
commit9e2132b83dbf479c5ee2ef176b74d7a3c1082da0
tree924b74051619dce176c0b1b11267e920b01507cf
parent5bc3054d61559107868dfa351b25d8f48c571151
Don't reset the session when the token refers to an invalid user

During account creation it is quite normal for the token in the
session to refer to a user that is not active yet.
app/controllers/application_controller.rb