Project

General

Profile

Plugins Directory » Redmine Login Audit 2

Author: K Seraph3000
Website: https://github.com/seraph3000/redmine_login_audit2
Code repository: https://github.com/seraph3000/redmine_login_audit2
Registered on: 2026-04-10 (2 days ago)
Current version: 1.0.0
Compatible with: Redmine 6.1.x, 6.0.x
User ratings:   (0)

A refactored version of redmine_login_audit by Martin Denizet, updated for Redmine 6.x / Rails 7.2.

What's New

  • Redmine 6.x / Rails 7.2 compatible — Modernized codebase (prepend pattern, Strong Parameters, etc.)
  • SAML/SSO support — Logs failed authentication for locked users via SSO
  • Streaming CSV export — Memory-efficient batch processing for large datasets
  • Improved purge UI — Shows oldest log date, requires confirmation for "Delete All"
  • No external dependencies — Removed wice_grid and email notification features

Supported Authentication

Method Success Failure
Redmine Standard
LDAP / Active Directory
REST API
SAML (redmine_saml)
Other OmniAuth Extendable

See README for extending support to other OmniAuth plugins.

Installation notes

Fresh Install

cd /path/to/redmine/plugins
git clone https://github.com/seraph3000/redmine_login_audit2.git
bundle exec rake redmine:plugins:migrate RAILS_ENV=production

Restart Redmine.

Migration from redmine_login_audit

Your existing data will be preserved.

# 1. Remove old plugin (keeps table)
rm -rf plugins/redmine_login_audit

# 2. Install new plugin
git clone https://github.com/seraph3000/redmine_login_audit2.git plugins/redmine_login_audit2

# 3. Check status
bundle exec rake redmine_login_audit2:check RAILS_ENV=production

# 4. Migrate (preserves data, adds missing columns/indexes)
bundle exec rake redmine_login_audit2:migrate_from_v1 RAILS_ENV=production

# 5. Restart Redmine
touch tmp/restart.txt

# 6. (Optional) Clean up old migration records
bundle exec rake redmine_login_audit2:cleanup_v1 RAILS_ENV=production

Migration Notes

  • Table login_audits is shared — your existing logs remain intact
  • Migration adds missing method column and indexes if needed
  • Run redmine_login_audit2:check first to see current state
  • Old plugin migration records can be cleaned up after verification

Changelog

1.0.0 (2026-04-10)

Compatible with Redmine 6.1.x, 6.0.x.