Skip to content

stefanspicer/refinerycms-authentication-devise

 
 

Repository files navigation

Refinery CMS Authentication Extension for Devise

This extension allows you to use Devise with Refinery CMS 3.0 and later.

Usage

Simply put this in the Gemfile of your Refinery application:

gem 'refinerycms-authentication-devise', '~> 1.0.4'

Then run bundle install to install it.

Installation

If you're moving from a pre-3.0 release of Refinery, you lost authentication when it moved out of RefineryCMS core. After installing this gem, follow these steps to migrate old user data and re-enable authentication.

Generate and run migrations

rails g refinery:authentication:devise  # Generate migrations
rake db:migrate                         # Run migrations

Set up your new initializer

You might have old data in initializers/refinery/authentication.rb. The new initializer is located in initializers/refinery/authentication/devise.rb.

Make sure devise.rb is configured correctly, then delete authentication.rb.

Then restart your server.

Contributing

Please see the contributing.md file for instructions.

About

Devise based authentication extension for Refinery CMS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 87.2%
  • HTML 12.8%