Sha256: d8c40776dd470615ded40fe3f714f296924eaa2f64530a9ac5e77701b7367f99
Contents?: true
Size: 810 Bytes
Versions: 2
Compression:
Stored size: 810 Bytes
Contents
# Pinfirmable A replacement for Devise `confirmable` to use a pin rather than an emailed link to confirm a users email. (Inspired by Slack) ## Installation Add this line to your application's Gemfile: ```ruby gem 'pinfirmable' ``` And then execute: ```bash $ bundle ``` Add the `pinfirmable` module to your devise model (e.g User) ```ruby class User < ApplicationRecord devise :database_authenticatable, :registerable, ... :pinfirmable ``` ```bash rake db:migrate # If your devise model isn't called user rake db:migrate MODEL=admin ``` Add the javascript include to the asset pipeline. ``` //= require pinfirmable ``` ## Todo - Encrypt the pin in the DB ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pinfirmable-0.1.1 | README.md |
pinfirmable-0.1.0 | README.md |