浏览代码

fixed line endings

Phallacy 6 年之前
父节点
当前提交
fc28c9237c
共有 1 个文件被更改,包括 22 次插入0 次删除
  1. 22 0
      Emby.Server.Implementations/Library/DefaultPasswordResetProvider.cs

+ 22 - 0
Emby.Server.Implementations/Library/DefaultPasswordResetProvider.cs

@@ -0,0 +1,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();
+        }
+    }
+}