diff --git a/account.php b/account.php index 28e5a7d..34dd22c 100644 --- a/account.php +++ b/account.php @@ -126,6 +126,9 @@ function cmd_do_new() function cmd_send_passwd() { + $note = '(Note: accounts for appdb.winehq.org and bugs.winehq.org ' + .'are separated, so You might need to create second 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.

" + .$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'] = ""; } }