discourse-migratepassword/README.md

27 lines
516 B
Markdown
Raw Normal View History

2014-09-07 16:08:14 -04: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
* Restart Discourse
Usage
=====
* Store your alternative password hashes in a custom field named `import_pass`
2014-09-07 16:10:54 -04:00
```
user = User.find_by(username: 'user')
user.custom_fields['import_pass'] = '5f4dcc3b5aa765d61d8327deb882cf99'
user.save
```
2014-09-07 16:08:14 -04:00
License
=======
GPL v2