Pārlūkot izejas kodu

fixed line endings

Phallacy 6 gadi atpakaļ
vecāks
revīzija
fc28c9237c

+ 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();
+        }
+    }
+}