From 1d096a1019c5e9af62c7fd5678fb258a1ea7ed17 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 17 Feb 2006 19:07:15 +0100 Subject: fixed password mail There was an error which caused the mail aent on registration to contain the crypted password instead of the cleartext one. darcs-hash:20060217180715-7ad00-88b2e8f74ddbad41300ca53bbf79df3d8d8beebc.gz --- inc/auth.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'inc/auth.php') diff --git a/inc/auth.php b/inc/auth.php index d8fae97b7..d25003736 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -454,8 +454,7 @@ function register(){ } //okay try to create the user - $pass = $auth->createUser($_POST['login'],$pass,$_POST['fullname'],$_POST['email']); - if(empty($pass)){ + if(!$auth->createUser($_POST['login'],$pass,$_POST['fullname'],$_POST['email'])){ msg($lang['reguexists'],-1); return false; } -- cgit v1.2.3