diff --git a/inc/auth.php b/inc/auth.php
index 537d44c0185b1ee2b769fc73920ebce5126ebabd..29ef46d03f6c63567f81ec06c77f43383ac37e01 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -883,7 +883,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;
         }
     }