SessionFixation and TomcatSetup edited

git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@333 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
wirth.marcel
2008-04-14 07:50:12 +00:00
parent 1143d00103
commit 5b8d96453b
2 changed files with 11 additions and 3 deletions

View File

@ -433,7 +433,15 @@ public class SessionFixation extends SequentialLessonAdapter
}
} catch (Exception e)
{
createLogInContent(ec, "");
if((name+password).equals(""))
{
createLogInContent(ec, "");
}
else
{
createLogInContent(ec, "Login Failed! Make sure user name and password is correct!");
}
}
return ec;