mirror of https://github.com/lidarr/Lidarr
Fixed: Default redirect URL for forms auth will use URL Base if configured
This commit is contained in:
parent
7ef1ca8a00
commit
50a0e9514e
|
@ -43,7 +43,7 @@ namespace NzbDrone.Api.Authentication
|
||||||
expiry = DateTime.UtcNow.AddDays(7);
|
expiry = DateTime.UtcNow.AddDays(7);
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.LoginAndRedirect(user.Identifier, expiry);
|
return this.LoginAndRedirect(user.Identifier, expiry, _configFileProvider.UrlBase + "/");
|
||||||
}
|
}
|
||||||
|
|
||||||
private Response Logout()
|
private Response Logout()
|
||||||
|
|
Loading…
Reference in New Issue