Alexander Nicolaysen Sørnes : Account creation: Add a note saying password will be e-mailed

Alexander Nicolaysen Sørnes asornes at winehq.org
Mon Jul 13 09:30:35 CDT 2009


Module: appdb
Branch: master
Commit: 8c5be3a10dac47ad32ac7a086c880640123ad98d
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=8c5be3a10dac47ad32ac7a086c880640123ad98d

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Mon Jul 13 16:29:16 2009 +0200

Account creation: Add a note saying password will be e-mailed

---

 account.php          |    1 -
 include/form_new.php |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/account.php b/account.php
index 1ecff46..eaeadf2 100644
--- a/account.php
+++ b/account.php
@@ -110,7 +110,6 @@ function cmd_do_new()
     if($iResult == SUCCESS)
     {
         mail_appdb($oUser->sEmail, "New account", "Your password is ".$sPassword);
-        addmsg("Account created! Check your email for your password. (".$aClean['sUserEmail'].")", "green");
         util_redirect_and_exit(apidb_fullurl());
     }
     else if($iResult == USER_CREATE_EXISTS)
diff --git a/include/form_new.php b/include/form_new.php
index 560b4bd..1906225 100644
--- a/include/form_new.php
+++ b/include/form_new.php
@@ -11,6 +11,7 @@ echo html_frame_start("Create New Application DB Account","400","",0)
 ?>
 
 <!-- start of new account form -->
+The password will be sent to your e-mail
 <table border=0 width="100%" cellspacing=0 cellpadding=20>
     <tr>
         <td class=color1> E-mail </td>




More information about the wine-cvs mailing list