內容簡介
這個外掛可讓您在使用者密碼更改時,自動寄送一封電子郵件包含新密碼。
聲明:值得注意的是,在明文中傳送密碼是極其不建議的,在生產環境中不應使用這個外掛。
篩選器
所有篩選器都包含了一個預設值和使用者 ID。
pwcn_to_name – 電子郵件收件人名稱標頭
pwcn_to_email – 電子郵件收件人信箱標頭
pwcn_to_header – 電子郵件收件人標頭
pwcn_site_url – 在通知電子郵件中使用的網站 URL
pwcn_login_url – 在通知電子郵件中使用的網站登入 URL
pwcn_login_url_redirect – 登入重導向
pwcn_site_name – 在通知電子郵件中使用的網站名稱
pwcn_site_hostname – 在通知電子郵件中使用的網站主機名稱
pwcn_subject – 通知電子郵件主旨
pwcn_message – 發送至通知電子郵件的訊息
pwcn_notification_default_value – 是否為給定使用者發送通知電子郵件的預設值
外掛標籤
開發者團隊
② 後台搜尋「Password Change Notification」→ 直接安裝(推薦)
原文外掛簡介
This plugin lets you send users an email with the new password whenever their password changes.
Disclainmer: It should be noted that sending passwords in cleartext is VERY MUCH ADVISED AGAINST, and you should probably not never ever be using this plugin in production envorinment.
Filters
All filters include a default value and the user id.
pwcn_to_name – Email To: header name
pwcn_to_email – Email To: header email address
pwcn_to_header – Email To: header
pwcn_site_url – Site URL used in notification email
pwcn_login_url – Site login URL used in notification email
pwcn_login_url_redirect – Login redirect
pwcn_site_name – Site name used in notification email
pwcn_site_hostname – Site hostname used in notification email
pwcn_subject – Subject line of notification email
pwcn_message – Message sent in notification email
pwcn_notification_default_value – Wether or not to send notification emails for a given user
