No commit activity in last 3 years
No release in over 3 years
A plugin to devise that will expire user passwords after a set amount of time and prompt them to update their password.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

Runtime

>= 4.0.0
>= 4.0.0
 Project Readme

Expire passwords plugin for Devise

This plugin expires user passwords after a set time period. The plugin assumes you have a column called "last_password_reset" in your table.

Features

  • set the length of time after which passwords expire

Configuration

Initial Setup

In a Rails environment, add the following line to your Gemfile:

gem 'devise_password_expirable'

From the command line, run:

bundle install

Installation

To add the correct settings to your already-existing devise initializer, run this command in the command line:

rails generate devise_password_expirable:install

To enable the plugin, add

:password_expirable

to your model's devise parameters.