yaoyi2008 / owasp-esapi-php

Automatically exported from code.google.com/p/owasp-esapi-php
Other
0 stars 0 forks source link

Coding error in method DefaultUser::loginWithPassword() #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In method DefaultUser::loginWithPassword() the condition for an empty password 
is not checked properly. Instead of 

if ( ... $password = "")

the correct syntax is

if ( ... $password == "")

with double equality signs.

Original issue reported on code.google.com by alois.ba...@gmx.de on 14 Jun 2011 at 8:28

GoogleCodeExporter commented 8 years ago
Ouch!
Fixed now, thanks for your input :-)

Original comment by bipin.code@gmail.com on 14 Jun 2011 at 12:56

GoogleCodeExporter commented 8 years ago

Original comment by bipin.code@gmail.com on 14 Jun 2011 at 12:58