mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
New: NzbDrone service to automatically report errors and episode parse issues.
This commit is contained in:
parent
ea86ce2fcb
commit
174f765ec9
140 changed files with 10774 additions and 1694 deletions
|
@ -70,9 +70,7 @@ namespace NzbDrone.Common
|
|||
{
|
||||
try
|
||||
{
|
||||
var currentIdentity = WindowsIdentity.GetCurrent();
|
||||
|
||||
var principal = new WindowsPrincipal(currentIdentity);
|
||||
var principal = new WindowsPrincipal(WindowsIdentity.GetCurrent());
|
||||
return principal.IsInRole(WindowsBuiltInRole.Administrator);
|
||||
}
|
||||
catch(Exception ex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue