aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/DefaultPasswordResetProvider.cs
diff options
context:
space:
mode:
authorPhallacy <Dragoonmac@gmail.com>2019-03-16 21:34:26 -0700
committerPhallacy <Dragoonmac@gmail.com>2019-03-16 21:34:26 -0700
commitfc28c9237cf08bd0100629ad5830824397e52565 (patch)
tree7ba45f2efdb5fba291f504fe237f77f1a8a087d5 /Emby.Server.Implementations/Library/DefaultPasswordResetProvider.cs
parentb04200ca68b980298dfb8582417139cc70867bd1 (diff)
fixed line endings
Diffstat (limited to 'Emby.Server.Implementations/Library/DefaultPasswordResetProvider.cs')
-rw-r--r--Emby.Server.Implementations/Library/DefaultPasswordResetProvider.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Library/DefaultPasswordResetProvider.cs b/Emby.Server.Implementations/Library/DefaultPasswordResetProvider.cs
new file mode 100644
index 000000000..87dbe684c
--- /dev/null
+++ b/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();
+ }
+ }
+}