Update password reset to always return the same response structure (#15254)

This commit is contained in:
Bill Thornton
2025-11-01 16:17:09 -04:00
committed by GitHub
parent b5f0199a25
commit 4ad3141875
4 changed files with 41 additions and 32 deletions

View File

@@ -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
}
}