]> git.openstreetmap.org Git - rails.git/commitdiff
Update documentation for how to confirm a new user account
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Feb 2022 11:27:52 +0000 (11:27 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Feb 2022 11:27:52 +0000 (11:27 +0000)
Fixes #3460

CONFIGURE.md

index f7638a49a61c09c2b9ca5516eb1420cb75d37bd0..9bf5e16bb41be3e7e4a56408107180753ca2807b 100644 (file)
@@ -30,9 +30,7 @@ If you create a user by signing up to your local website, you need to confirm th
 $ bundle exec rails console
 >> user = User.find_by(:display_name => "My New User Name")
 => #[ ... ]
->> user.status = "active"
-=> "active"
->> user.save!
+>> user.activate!
 => true
 >> quit
 ```