Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.

Latest commit

 

History

History
74 lines (49 loc) · 1.97 KB

README.md

File metadata and controls

74 lines (49 loc) · 1.97 KB

Redmine Account Lockable

Build Status

Redmine plugin for locking of account at failed login.

Usage

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

Supported versions

Redmine 3.2.x or higher

Install

git clone to plugins/redmine_account_lockable on your Redmine path.

$ git clone https://github.com/matsukei/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.