]> git.openstreetmap.org Git - rails.git/commit
Ensure that deactivate isn't available in production
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 2 Feb 2022 17:47:45 +0000 (17:47 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 2 Feb 2022 17:48:17 +0000 (17:48 +0000)
commit2d47d6b4f8c4309189704c2748ea92eeeaff6c4d
treeeb0451391930722786cc3e602d075d410168dcf7
parent2731e7244ac554c4a17f69347851f8f829cd1caa
Ensure that deactivate isn't available in production

It's only used as a workaround for factories not being able to create
pending users while keeping active as the default
app/models/user.rb