You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Strong Liu (JIRA)" <ji...@apache.org> on 2014/02/06 06:20:12 UTC
[jira] [Created] (USERGRID-77) can't login for newly created user
due to NPE
Strong Liu created USERGRID-77:
----------------------------------
Summary: can't login for newly created user due to NPE
Key: USERGRID-77
URL: https://issues.apache.org/jira/browse/USERGRID-77
Project: Usergrid
Issue Type: Bug
Components: Stack
Reporter: Strong Liu
by default, the _usergrid.sysadmin.login.email_ property is not set, but in _org.usergrid.management.cassandra.ManagementServiceImpl#verifyAdminUserPasswordCredentials_ there is a line of code
{code}
boolean userIsSuperAdmin =
properties.getProperty( PROPERTIES_SYSADMIN_LOGIN_EMAIL ).equals( userInfo.getEmail() );
{code}
so, it always throws NPE, which in turn makes the login impossible
and it gives wrong message saying invalid password :(
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)