# Migrated password hashes support

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

<div class="post-metadata">

**Author:** ![frictionel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frictionel/32/299701_2.png) [@frictionel](https://meta.discourse.org/u/frictionel)\
**Post date:** [6월 27, 2016, 6:03오후 UTC](https://meta.discourse.org/t/migrated-password-hashes-support/19512/13 "2016-06-27T18:03:05Z")

</div>

I used this plugin for a migration yesterday and although it was working okay in a test migration, now on the live site it’s failing. ☹

They are all md5 hashes but the console shows a problem with BCrypt:

```
BCrypt::Errors::InvalidHash (invalid hash)
/var/www/discourse/plugins/discourse-migratepassword/gems/2.3.1/gems/bcrypt-3.1.3/lib/bcrypt/password.rb:60:in `initialize' 

```

Can I disable the use of this gem as I don’t need it? I commented out all lines in plugin.rb that my migration won’t need but that seems to have no effect, the error remains. 🤔

---

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