]> cat aescling's git repositories - mastodon.git/commitdiff
Correct the reference to user's password in mastodon:add_user task (#6800)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Sat, 17 Mar 2018 12:27:19 +0000 (21:27 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 17 Mar 2018 12:27:19 +0000 (13:27 +0100)
lib/tasks/mastodon.rake

index 13df76f910746871f21f2f0bb18a2b3619a464a1..cf32b149545ac1d57900fcb00f777179b5a28b7a 100644 (file)
@@ -472,7 +472,7 @@ namespace :mastodon do
 
         if user.save
           prompt.ok 'User created and confirmation mail sent to the user\'s email address.'
-          prompt.ok "Here is the random password generated for the user: #{password}"
+          prompt.ok "Here is the random password generated for the user: #{user.password}"
         else
           prompt.warn 'User was not created because of the following errors:'