JC created USERGRID-1335:
----------------------------
Summary: A condition that is always true.
Key: USERGRID-1335
URL: https://issues.apache.org/jira/browse/USERGRID-1335
Project: Usergrid
Issue Type: Bug
Components: Chop
Reporter: JC
I've found a code smell or typo in a recent github snapshot.
Path:
chop/webapp/src/main/java/org/apache/usergrid/chop/webapp/service/shiro/ShiroRealm.java
{code:java}
104 if ( username.equals( username ) && password.equals( "pass" ) )
{
105 initUserData();
106
107 }
{code}
In Line 104, username.equals( username ) is always true. This might be a
trivial typo, as allowing any username. But wanted to report just in case.
Thanks!
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)