phatworx / devise_security_extension

An enterprise security extension for devise, trying to meet industrial standard security demands for web applications.
MIT License
747 stars 346 forks source link

Error null value in column "encrypted_password" (Rails 3.2.16) #78

Open hlascelles opened 10 years ago

hlascelles commented 10 years ago

I'm seeing this error when trying to change passwords with v0.8.0, Rails 3.2.16. Downgrading to 0.7.2 fixes the issue, but it's not the same error message as https://github.com/phatworx/devise_security_extension/issues/76 so I'm raising this as a separate bug.

Exception or error ActiveRecord::StatementInvalid b7b14700-8281-0131-3be1-457556311861 occurred: 'PG::NotNullViolation: ERROR:  null value in column "encrypted_password" violates not-null constraint
: INSERT INTO "old_passwords" ("created_at", "encrypted_password", "lock_version", "password_archivable_id", "password_archivable_type", "password_salt") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"'.
nofxsnap commented 9 years ago

I am seeing the same issue. Downgrading as well to fix for now.

abhiramesh commented 6 years ago

Did this ever get fixed?