aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/user_controller_spec.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2015-02-18 15:25:39 +0000
committerGareth Rees <gareth@mysociety.org>2015-02-24 13:23:17 +0000
commit8341ff286c42cc09dfd56d3f76521375ee4d0219 (patch)
tree487a10eedb3b81ba30fdfbc2bcd65eb32b864e32 /spec/controllers/user_controller_spec.rb
parent782ea13f061f57563a9671894035bc91baef10ab (diff)
Disable profile_photo file field if user is banned
Stops the user editing their profile photo if they have been banned. https://www.righttoknow.org.au/ reported that spam accounts were being created and even though the user accounts were getting banned, the spam user/bots couls still edit the about me field to propagate more spam. This prevents the profile photo being modified so that they cannot add offensive images.
Diffstat (limited to 'spec/controllers/user_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions