]> git.openstreetmap.org Git - rails.git/commit
Only set pending users to active on a password reset
authorTom Hughes <tom@compton.nu>
Sun, 9 May 2010 07:44:17 +0000 (08:44 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 9 May 2010 07:44:17 +0000 (08:44 +0100)
commit7e5c998a87ef776276c8015c17cd9e7be79a1692
tree81c35901ddd8486ffddc56116096bc887f2de0f4
parent50bf6b49a63c0bb3a6258a97396589d3d042f529
Only set pending users to active on a password reset

When resetting a password only activate pending users, otherwise a
confirmed user's account gets set back to active and may then get
suspended by the spam scorer.
app/controllers/user_controller.rb