Friday, 6 December 2013

Change Active Admin password

Note to self.
    admin = AdminUser.find_by_email("admin@domain.com")
    admin.password = "newPassword"
    admin.save

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!