No release in over 3 years
Low commit activity in last 3 years
Encryption solution for salted-encryptors on Devise
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.1.0
 Project Readme

Devise Encryptable

Use alternative (and even your own!) encryptors with Devise.

Usage

Add it to your Gemfile

gem "devise-encryptable"

Add the encryptable module to your model:

class User < ActiveRecord::Base
  devise :database_authenticatable, :encryptable
end

And add the password_salt field to the database through a migration:

class DeviseCreateUsers < ActiveRecord::Migration
  def change
    add_column :users, :password_salt, :string
  end
end

And you're ready to go!

Contributing

  • Fork it
  • Write your changes
  • Commit
  • Send a pull request

License

Apache License version 2. Copyright 2020-2024 Rafael França, Carlos Antônio da Silva. Copyright 2012-2019 Plataformatec.