# Migrated password hashes support

**URL:** <https://meta.discourse.org/t/migrated-password-hashes-support/19512>\
**Category:** Plugin\
**Created:** [1 Settembre 2014, 5:51pm UTC](https://meta.discourse.org/t/migrated-password-hashes-support/19512 "2014-09-01T17:51:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)\
**Post date:** [1 Settembre 2014, 9:03pm UTC](https://meta.discourse.org/t/migrated-password-hashes-support/19512/4 "2014-09-01T21:03:47Z")

</div>

This is reeeeally hacky, barely tested and requires Ruby ≥ 2.0:

> <https://gist.github.com/Elberet/31ef485a8f723af7c11d>

The idea here is that old passwords are stored as salted SHA1 hashes and the import process has stored these in the form `"#{salt}:#{password}"` in a custom field named `import_pass`.

---

_[View the full topic](https://meta.discourse.org/t/migrated-password-hashes-support/19512)._
