aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/DefaultPasswordResetProvider.cs
blob: 87dbe684cd190e9fea886f02e0ca928220948c4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;
using System.Threading.Tasks;
using MediaBrowser.Controller.Authentication;
using MediaBrowser.Controller.Entities;

namespace Emby.Server.Implementations.Library
{
    public class DefaultPasswordResetProvider : IPasswordResetProvider
    {
        public string Name => "Default Password Reset";

        public bool IsEnabled => true;

        // set our default timeout to an hour since we'll be making the PIN it generates a little less fragile
        public TimeSpan PasswordResetTimeout => new TimeSpan(1,0,0);

        public Task ResetPassword(User user)
        {
            throw new NotImplementedException();
        }
    }
}