mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-06 09:19:21 +00:00
(fix) return a 404 for public user
This commit is contained in:
1 parent
629b7f4d22
commit
fd0180fe74
1 file changed
+1
-1
+1
-1
@@ -372,7 +372,7 @@ static BOOL debugLeaks;
|
||||
if ([_key length] > 0 && ![_key isEqualToString:@"favicon.ico"])
|
||||
{
|
||||
obj = [self lookupUser: _key inContext: _ctx];
|
||||
if (!obj)
|
||||
if (!obj && ![_key isEqualToString: @"public"])
|
||||
obj = [self lookupUser: @"anonymous" inContext: _ctx];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user