mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-20 12:40:38 +02: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…
Reference in a new issue