From bf12ec81961a0fb855a2ac581c1741895e68ae5d Mon Sep 17 00:00:00 2001 From: jan Date: Fri, 13 May 2005 12:18:58 +0200 Subject: typos in register function darcs-hash:20050513101858-45605-3b95334c8636ebfbbf8db099abda0c2e07095a28.gz --- inc/auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/auth.php') 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 -- cgit v1.2.3