Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/d8f0933f335044249048e9ae0c0030ca0b780fee
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
8 additions and
0 deletions
@ -131,6 +131,10 @@ public class StartupController : BaseJellyfinApiController
public async Task < ActionResult > UpdateStartupUser ( [ FromBody ] StartupUserDto startupUserDto )
{
var user = _userManager . Users . First ( ) ;
if ( string . IsNullOrWhiteSpace ( startupUserDto . Password ) )
{
return BadRequest ( "Password must not be empty" ) ;
}
if ( startupUserDto . Name is not null )
{
@ -272,6 +272,10 @@ namespace Jellyfin.Server.Implementations.Users
public async Task ChangePassword ( User user , string newPassword )
{
ArgumentNullException . ThrowIfNull ( user ) ;
if ( user . HasPermission ( PermissionKind . IsAdministrator ) & & string . IsNullOrWhiteSpace ( newPassword ) )
{
throw new ArgumentException ( "Admin user passwords must not be empty" , nameof ( newPassword ) ) ;
}
await GetAuthenticationProvider ( user ) . ChangePassword ( user , newPassword ) . ConfigureAwait ( false ) ;
await UpdateUserAsync ( user ) . ConfigureAwait ( false ) ;