aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Users/ForgotPasswordAction.cs
diff options
context:
space:
mode:
authorthornbill <thornbill@users.noreply.github.com>2025-11-02 21:58:42 -0500
committerJoshua M. Boniface <joshua@boniface.me>2025-11-02 21:58:42 -0500
commit1ccd10863e24485978a2f5fd7650b2bcf42168d3 (patch)
treea873a6328861c1031fe7a7042674836ade24e406 /MediaBrowser.Model/Users/ForgotPasswordAction.cs
parent4258df4485c928e5a128bfb7c0149ba51b7b33af (diff)
Backport pull request #15254 from jellyfin/release-10.11.z
Update password reset to always return the same response structure Original-merge: 4ad31418753840ca76c52fc2aa56fa1a4235ca87 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
Diffstat (limited to 'MediaBrowser.Model/Users/ForgotPasswordAction.cs')
-rw-r--r--MediaBrowser.Model/Users/ForgotPasswordAction.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Users/ForgotPasswordAction.cs b/MediaBrowser.Model/Users/ForgotPasswordAction.cs
index f198476e3..55907e6c8 100644
--- a/MediaBrowser.Model/Users/ForgotPasswordAction.cs
+++ b/MediaBrowser.Model/Users/ForgotPasswordAction.cs
@@ -1,11 +1,15 @@
#pragma warning disable CS1591
+using System;
+
namespace MediaBrowser.Model.Users
{
public enum ForgotPasswordAction
{
+ [Obsolete("Returning different actions represents a security concern.")]
ContactAdmin = 0,
PinCode = 1,
+ [Obsolete("Returning different actions represents a security concern.")]
InNetworkRequired = 2
}
}