Go to file
2014-09-07 22:08:14 +02:00
LICENSE Initial commit 2014-09-07 22:02:32 +02:00
plugin.rb First release 2014-09-07 20:04:01 +00:00
README.md Create README.md 2014-09-07 22:08:14 +02:00

discourse-migratepassword

Support migrated password hashes

Installation

  • Run bundle exec rake plugin:install repo=http://github.com/discoursehosting/discourse-migratepassword in your discourse directory
  • In development mode, run bundle exec rake assets:clean
  • In production, recompile your assets: bundle exec rake assets:precompile
  • Restart Discourse

Usage

  • Store your alternative password hashes in a custom field named import_pass

    user = User.find_by(username: 'user') user.custom_fields['import_pass'] = '5f4dcc3b5aa765d61d8327deb882cf99' user.save

License

GPL v2