mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 22:35:17 -04:00
Version Fix and Locale Updates (#3626)
This commit is contained in:
@@ -150,7 +150,7 @@ public class UsersController : BaseApiController
|
||||
}
|
||||
|
||||
|
||||
if (_localizationService.GetLocales().Contains(preferencesDto.Locale))
|
||||
if (_localizationService.GetLocales().Select(l => l.FileName).Contains(preferencesDto.Locale))
|
||||
{
|
||||
existingPreferences.Locale = preferencesDto.Locale;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user