changeset 603:6d89f4a15778

Send reset password to all notification addresses
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 12 Apr 2020 13:22:40 +0900
parents f02b38fa9489
children 93f770f87662
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Sat Apr 11 17:45:57 2020 +0900
+++ b/s4-funcs.sh	Sun Apr 12 13:22:40 2020 +0900
@@ -1188,7 +1188,7 @@
   _m4 -D_PSWD_="$newpswd" -D_URL_="$url" -D_ADMIN_="$admin" \
      $msgdir/mail-newaccount.m4 \
       | sed "s/_USER_/$user/g" \
-      | smail $user "New Account"
+      | smail "`collectemail $user`" "New Account"
 }
 checkauth() {
   user=`getpar user`

yatex.org