mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 10:44:23 -04:00
Remove dashes from pins
This commit is contained in:
parent
2d396cb589
commit
13e94a8b1b
@ -53,7 +53,7 @@ namespace Emby.Server.Implementations.Library
|
||||
{
|
||||
File.Delete(resetfile);
|
||||
}
|
||||
else if (spr.Pin.Equals(pin, StringComparison.InvariantCultureIgnoreCase))
|
||||
else if (spr.Pin.Replace('-', '').Equals(pin.Replace('-', ''), StringComparison.InvariantCultureIgnoreCase))
|
||||
{
|
||||
var resetUser = _userManager.GetUserByName(spr.UserName);
|
||||
if (resetUser == null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user