No commit activity in last 3 years
No release in over 3 years
A devise extension to curb password sharing.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.0.0
~> 1.2.0
>= 4.0.0
 Project Readme

devise_password_sharing_extension¶ ↑

script/rails g devise_password_sharing_extension:install
script/rails g devise_password_sharing_extension User

White listed ip addresses are listed in:

config/white_listed_ips.yml

Config is in the devise initializer:

enable_banning # Log login events but do not ban users.
geoip_database # GeoIP databse. Still looking for a sample database.
time_frame # The amount of time a password is allowed to be shared.
number_of_cities # Number of cities a password is allowed to be used in.

General logic is that when a user logs in over X number of cities in Y number of hours, the user gets a ban.

Contributing to devise_password_sharing_extension¶ ↑

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet

  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it

  • Fork the project

  • Start a feature/bugfix branch

  • Commit and push until you are happy with your contribution

  • Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright © 2011 Russ Smith. See LICENSE.txt for further details.