summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjan <jan@jandecaluwe.com>2005-05-13 12:18:58 +0200
committerjan <jan@jandecaluwe.com>2005-05-13 12:18:58 +0200
commitbf12ec81961a0fb855a2ac581c1741895e68ae5d (patch)
tree57f276ba77587697e9bed4813b1917bfc193c895
parentb94418bb3dba791d203321607dc8569608bcec04 (diff)
downloadrpg-bf12ec81961a0fb855a2ac581c1741895e68ae5d.tar.gz
rpg-bf12ec81961a0fb855a2ac581c1741895e68ae5d.tar.bz2
typos in register function
darcs-hash:20050513101858-45605-3b95334c8636ebfbbf8db099abda0c2e07095a28.gz
-rw-r--r--inc/auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 64b865594..a53b77bef 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -387,10 +387,10 @@ function register(){
$pass = auth_pwgen(); // automatically generate password
} elseif (empty($_POST['pass']) ||
empty($_POST['passchk'])) {
- msg($lang['reqmissing'], -1); // complain about missing passwords
+ msg($lang['regmissing'], -1); // complain about missing passwords
return false;
} elseif ($_POST['pass'] != $_POST['passchk']) {
- msg($lang['reqbadpass'], -1); // complain about misspelled passwords
+ msg($lang['regbadpass'], -1); // complain about misspelled passwords
return false;
} else {
$pass = $_POST['pass']; // accept checked and valid password