Files: Settings: removed socket url for anonymous if there is no token in request
This commit is contained in:
parent
a1a2d5aa4a
commit
ca8c144080
@ -157,7 +157,7 @@ public class SettingsController : BaseSettingsController
|
||||
CookieSettingsEnabled = tenantCookieSettings.Enabled
|
||||
};
|
||||
|
||||
if (!_authContext.IsAuthenticated && (await _externalShare.GetSessionIdAsync() != default || await _externalShare.GetLinkIdAsync() != default))
|
||||
if (!_authContext.IsAuthenticated && await _externalShare.GetLinkIdAsync() != default)
|
||||
{
|
||||
settings.SocketUrl = _configuration["web:hub:url"] ?? "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user