summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php2
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);