mirror of https://github.com/apache/archiva.git
prevent NPE when guest user not exists
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1420664 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6983e2d690
commit
6341350134
|
@ -206,7 +206,7 @@ public class ArchivaConfigurableUsersManager
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( user == null )
|
if ( user == null && lastException != null )
|
||||||
{
|
{
|
||||||
throw lastException;
|
throw lastException;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue