Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

管理画面ログイン、ログアウト時の処理を拡張したい #1529

Closed
kaburk opened this issue Aug 27, 2020 · 0 comments
Closed
Labels
Todo 実行確定タスク

Comments

@kaburk
Copy link
Collaborator

kaburk commented Aug 27, 2020

概要

管理画面へのログイン、ログアウト時にイベント発行してプラグインなどで処理を追加したいです。

現状、取得する方法がなさそうだったので、UsersControllerの admin_login、admin_logoutあたりでイベントが発生するようにすれば、ログイン・ログアウト周りを拡張しやすいと思われます。

baserCMS version : 4系最新を想定

利用例:
ログイン、ログアウト履歴を取得するようなプラグインの作成
複数回パスワードエラーで自動でIP制限がかかるプラグインの作成
などなど

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Todo 実行確定タスク
Projects
None yet
Development

No branches or pull requests

2 participants