diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-08-22 23:50:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-22 23:50:43 -0400 |
| commit | 3a99a4770c86d6815267857558968ef5c1fa73f4 (patch) | |
| tree | 33bf04f0792982f0300d0f972185b0bfff310e15 /MediaBrowser.Controller/Net/AuthenticatedAttribute.cs | |
| parent | e88b7b8d0e08694a4cc939b8632cc077dc51c7ca (diff) | |
| parent | c4d8275fc1ad29823788043750e2f3f8e8b8244e (diff) | |
Merge pull request #3958 from Bond-009/warn26
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
Diffstat (limited to 'MediaBrowser.Controller/Net/AuthenticatedAttribute.cs')
| -rw-r--r-- | MediaBrowser.Controller/Net/AuthenticatedAttribute.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Net/AuthenticatedAttribute.cs b/MediaBrowser.Controller/Net/AuthenticatedAttribute.cs index 87a7f7e10b..1366fd42e8 100644 --- a/MediaBrowser.Controller/Net/AuthenticatedAttribute.cs +++ b/MediaBrowser.Controller/Net/AuthenticatedAttribute.cs @@ -1,3 +1,5 @@ +#pragma warning disable CS1591 + using System; using MediaBrowser.Model.Services; using Microsoft.AspNetCore.Http; @@ -53,7 +55,7 @@ namespace MediaBrowser.Controller.Net } public bool IgnoreLegacyAuth { get; set; } - + public bool AllowLocalOnly { get; set; } } @@ -68,7 +70,7 @@ namespace MediaBrowser.Controller.Net bool AllowLocalOnly { get; } string[] GetRoles(); - + bool IgnoreLegacyAuth { get; } } } |
