Update README.md

This commit is contained in:
discoursehosting 2014-09-07 22:10:54 +02:00
parent d5e77b5807
commit 20b8c7b831

View File

@ -16,10 +16,11 @@ Usage
===== =====
* Store your alternative password hashes in a custom field named `import_pass` * Store your alternative password hashes in a custom field named `import_pass`
```
user = User.find_by(username: 'user') user = User.find_by(username: 'user')
user.custom_fields['import_pass'] = '5f4dcc3b5aa765d61d8327deb882cf99' user.custom_fields['import_pass'] = '5f4dcc3b5aa765d61d8327deb882cf99'
user.save user.save
```
License License
======= =======