mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 19:14:48 +02:00
Remove dashes from pins
This commit is contained in:
parent
2d396cb589
commit
13e94a8b1b
1 changed files with 4 additions and 4 deletions
|
@ -53,7 +53,7 @@ namespace Emby.Server.Implementations.Library
|
||||||
{
|
{
|
||||||
File.Delete(resetfile);
|
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);
|
var resetUser = _userManager.GetUserByName(spr.UserName);
|
||||||
if (resetUser == null)
|
if (resetUser == null)
|
||||||
|
|
Loading…
Reference in a new issue