From d5e77b5807f1204f090fa783a6c6045c7b117f5e Mon Sep 17 00:00:00 2001 From: discoursehosting Date: Sun, 7 Sep 2014 22:08:14 +0200 Subject: [PATCH] Create README.md --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d4ccd20 --- /dev/null +++ b/README.md @@ -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