Browse Source

#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 years ago
parent
commit
69a0bc3ee7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/loginwebpage.class.inc.php

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

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