appdb/. account.php

WineHQ wineowner at wine.codeweavers.com
Sun Feb 5 14:44:32 CST 2006


ChangeSet ID:	22736
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/02/05 14:44:32

Modified files:
	.              : account.php 

Log message:
	Rafal Maj <rafal at raf256.com> 
	Clarify that appdb and bugzilla have separate accounts when a user is requesting
	their password from the appdb.

Patch: http://cvs.winehq.org/patch.py?id=22736

Old revision  New revision  Changes     Path
 1.13          1.14          +6 -2       appdb/account.php

Index: appdb/account.php
diff -u -p appdb/account.php:1.13 appdb/account.php:1.14
--- appdb/account.php:1.13	5 Feb 2006 20:44:32 -0000
+++ appdb/account.php	5 Feb 2006 20:44:32 -0000
@@ -126,6 +126,9 @@ function cmd_do_new()
 function cmd_send_passwd()
 {
    
+    $note = '(<b>Note</b>: accounts for <b>appdb</b>.winehq.org and <b>bugs</b>.winehq.org '
+           .'are separated, so You might need to <b>create second</b> account for appdb.)';
+		
     $userid = user_exists($_POST['ext_email']);
     $passwd = generate_passwd();
     $user = new User($userid);
@@ -156,7 +159,8 @@ function cmd_send_passwd()
     }
     else
     {
-        addmsg("Sorry, that user (". urlencode($_POST['ext_email']) .") does not exist.", "red");
+        addmsg("Sorry, that user (". urlencode($_POST['ext_email']) .") does not exist.<br><br>"
+               .$note, "red");
     }
     
     redirect(apidb_fullurl("account.php?cmd=login"));
@@ -177,7 +181,7 @@ function cmd_do_login()
         redirect(apidb_fullurl("index.php"));    	    
     } else
     {
-        retry("login","Login failed");
+        retry("login","Login failed ".$note);
         $_SESSION['current'] = "";
     }
 }



More information about the wine-cvs mailing list