
內容簡介
這個外掛是Slack 外掛的擴充功能;它允許您在使用者遺失並重設密碼時向 Slack 頻道發送通知。
這個新事件將在整合設定中標示為「當使用者遺失並重設密碼時」。如果勾選,當使用者遺失並重設密碼時,就會傳送通知。
啟用此外掛時,網站管理員的電子郵件通知將被停用。
您可以使用 slack_user_password_reset_message 過濾器更改訊息,過濾器按此順序接收以下參數:
$user:使用者物件
$new_pass:新密碼字串
此外掛的開發是在GitHub上進行的。歡迎隨時提交拉取請求。
外掛標籤
開發者團隊
② 後台搜尋「User Password Reset Notifications for Slack」→ 直接安裝(推薦)
原文外掛簡介
This plugin is an extension to the Slack plugin; it allows you to send notifications to Slack channels whenever a user loses and resets their password.
The new event will be shown in the integration settings labeled When a user loses and resets their password. If checked, then a notification will be delivered whenever a user loses and resets their password.
When this plugin is active, the email notifications to the site administrator will be disabled.
You can alter the message with slack_user_password_reset_message filter. The filter receives the following parameters in this order:
$user: the user object
$new_pass: the new password string
Development of this plugin is done on GitHub. Pull requests are always welcome.
