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:
Olivier Lamy 2012-12-12 13:30:49 +00:00
parent 6983e2d690
commit 6341350134
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ public class ArchivaConfigurableUsersManager
} }
} }
if ( user == null ) if ( user == null && lastException != null )
{ {
throw lastException; throw lastException;
} }