From a06e4bdbecc28dbf2b0581783ddc6dc97a03d530 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 15 Jun 2006 21:44:19 +0200 Subject: 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 --- inc/auth.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'inc/auth.php') 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); -- cgit v1.2.3