From 451e1b4dc1985d10b3aeaeeaf23d5498ce87032b Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Fri, 17 Feb 2012 14:10:10 +0100
Subject: [PATCH] use correct lang string for password mismatch

---
 inc/auth.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/auth.php b/inc/auth.php
index 740a75a5c..437a82a82 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -872,7 +872,7 @@ function act_resendpwd(){
             // password given correctly?
             if(!isset($_REQUEST['pass']) || $_REQUEST['pass'] == '') return false;
             if($_REQUEST['pass'] != $_REQUEST['passchk']){
-                msg('password mismatch',-1); #FIXME localize
+                msg($lang['regbadpass'],-1);
                 return false;
             }
             $pass = $_REQUEST['pass'];
-- 
GitLab