Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/0871949b740adf3fa86b17ffddc49bd265a190a8
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
12 additions and
1 deletions
@ -4,6 +4,7 @@ using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication ;
using Microsoft.AspNetCore.Authorization ;
using Microsoft.AspNetCore.Mvc ;
using NzbDrone.Common.Extensions ;
using NzbDrone.Core.Authentication ;
using NzbDrone.Core.Configuration ;
@ -46,7 +47,17 @@ namespace Lidarr.Http.Authentication
await HttpContext . SignInAsync ( AuthenticationType . Forms . ToString ( ) , new ClaimsPrincipal ( new ClaimsIdentity ( claims , "Cookies" , "user" , "identifier" ) ) , authProperties ) ;
return Redirect ( _configFileProvider . UrlBase + "/" ) ;
if ( returnUrl . IsNullOrWhiteSpace ( ) )
{
return Redirect ( _configFileProvider . UrlBase + "/" ) ;
}
if ( _configFileProvider . UrlBase . IsNullOrWhiteSpace ( ) | | returnUrl . StartsWith ( _configFileProvider . UrlBase ) )
{
return Redirect ( returnUrl ) ;
}
return Redirect ( _configFileProvider . UrlBase + returnUrl ) ;
}
[HttpGet("logout")]