浏览代码

#732: Change password: exit after building the page in case of wrong "old" password

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2756 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 12 年之前
父节点
当前提交
69a0bc3ee7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      application/loginwebpage.class.inc.php

+ 1 - 0
application/loginwebpage.class.inc.php

@@ -436,6 +436,7 @@ EOF
 				$oPage = new LoginWebPage();
 				$oPage->DisplayChangePwdForm(true); // old pwd was wrong
 				$oPage->output();
+				exit;
 			}
 			$sMessage = Dict::S('UI:Login:PasswordChanged');
 		}