[Git][noosfero/noosfero][master] sample-data: fix user activation

Rodrigo Souto gitlab at mg.gitlab.com
Tue Apr 3 11:22:17 BRT 2018


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
e3d89684 by Rodrigo Souto at 2018-04-03T14:21:50Z
sample-data: fix user activation

- - - - -


1 changed file:

- script/sample-profiles


Changes:

=====================================
script/sample-profiles
=====================================
--- a/script/sample-profiles
+++ b/script/sample-profiles
@@ -106,7 +106,7 @@ done
 
 print "Activating users: "
 User.where("login NOT LIKE '%%_template'").each do |user|
-  user.activate
+  user.activate!
   print '.'
 end
 done



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/e3d896842d91a4fab37684378a96b664db84b3db

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/e3d896842d91a4fab37684378a96b664db84b3db
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180403/95a3f7d8/attachment.html>


More information about the Noosfero-dev mailing list