diff --git a/inc/auth.php b/inc/auth.php
index 96b80e19ea46cd4c8e87f8cced89d7ec85217db7..a1c92ec804a503ba876a74f7251167885305b2a2 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -1024,7 +1024,7 @@ function updateprofile() {
 
     if($conf['profileconfirm']) {
         if(!$auth->checkPass($_SERVER['REMOTE_USER'], $INPUT->post->str('oldpass'))) {
-            msg($lang['badlogin'], -1);
+            msg($lang['badpassconfirm'], -1);
             return false;
         }
     }