mirror of
https://github.com/moparisthebest/discourse-migratepassword
synced 2024-11-27 19:32:17 -05:00
Create README.md
This commit is contained in:
parent
bcf9b6f6dd
commit
d5e77b5807
27
README.md
Normal file
27
README.md
Normal file
@ -0,0 +1,27 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user