Explorar o código

#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 %!s(int64=12) %!d(string=hai) anos
pai
achega
69a0bc3ee7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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');
 		}