diff options
author | Sebastian Harl <sh@tokkee.org> | 2006-06-15 21:44:19 +0200 |
---|---|---|
committer | Sebastian Harl <sh@tokkee.org> | 2006-06-15 21:44:19 +0200 |
commit | a06e4bdbecc28dbf2b0581783ddc6dc97a03d530 (patch) | |
tree | a24650fd9ff65ca98a2383ff8c6ff86e9146067b /inc/auth.php | |
parent | 1f713250cf99079888e38f2656d23ac37a061e9b (diff) | |
download | rpg-a06e4bdbecc28dbf2b0581783ddc6dc97a03d530.tar.gz rpg-a06e4bdbecc28dbf2b0581783ddc6dc97a03d530.tar.bz2 |
register notify #826
A small patch for dokuwiki which enables dokuwiki to notify the
administrator about new user registrations
darcs-hash:20060615194419-022eb-51630aff3c6d93abc656742fc0bc723b93f97734.gz
Diffstat (limited to 'inc/auth.php')
-rw-r--r-- | inc/auth.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/auth.php b/inc/auth.php index a61e08ad5..72c87552d 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -495,12 +495,14 @@ function register(){ if (!$conf['autopasswd']) { msg($lang['regsuccess2'],1); + notify('', 'register', '', $_POST['login'], false); return true; } // autogenerated password? then send him the password if (auth_sendPassword($_POST['login'],$pass)){ msg($lang['regsuccess'],1); + notify('', 'register', '', $_POST['login'], false); return true; }else{ msg($lang['regmailfail'],-1); |