Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

maeda-m/redmine_account_lockable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redmine Account Lockable

Redmine plugin for locking of account at failed login.

Usage

Set the count of allow failed logins in the setting of Redmine administrator. usage.png

Supported versions

Redmine 3.1.x

Install

git clone to plugins/redmine_account_lockable on your Redmine path.

$ git clone https://github.com/maeda-m/redmine_account_lockable.git /path/to/your-redmine/plugins/redmine_account_lockable

Then, migrate:

$ cd /path/to/your-redmine
$ rake redmine:plugins:migrate NAME=redmine_account_lockable RAILS_ENV=production

That's all.

Uninstall

At first, rollback schema:

$ cd /path/to/your-redmine
$ rake redmine:plugins:migrate NAME=redmine_account_lockable VERSION=0 RAILS_ENV=production

Then, remove plugins/redmine_account_lockable directory.

Contribute

How to test

$ cd /path/to/your-redmine
$ rake db:create RAILS_ENV=test
$ rake db:migrate RAILS_ENV=test
$ rake redmine:plugins:migrate RAILS_ENV=test NAME=redmine_account_lockable
$ rake redmine:load_default_data RAILS_ENV=test
$ rake redmine:plugins:test NAME=redmine_account_lockable
# => rake redmine:plugins:test:functionals NAME=redmine_account_lockable
# => rake redmine:plugins:test:integration NAME=redmine_account_lockable
# => rake redmine:plugins:test:units NAME=redmine_account_lockable

Pull Request

  1. Fork it
  2. Create your feature branch: git checkout -b new-feature
  3. Commit your changes: git commit -am 'add some new feature'
  4. Push to the branch: git push origin new-feature
  5. Create new Pull Request

Report bugs

Please report from here.

Copyright

See MIT-LICENSE for further details.

About

Redmine plugin for locking of account at failed login.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published