mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-11 07:37:10 -07:00
parent
a602611a5f
commit
a4b78b44ce
1307 changed files with 8702 additions and 7403 deletions
|
@ -22,9 +22,9 @@ namespace Lidarr.Http.Extensions
|
|||
|
||||
public static bool IsLocalRequest(this Request request)
|
||||
{
|
||||
return (request.UserHostAddress.Equals("localhost") ||
|
||||
return request.UserHostAddress.Equals("localhost") ||
|
||||
request.UserHostAddress.Equals("127.0.0.1") ||
|
||||
request.UserHostAddress.Equals("::1"));
|
||||
request.UserHostAddress.Equals("::1");
|
||||
}
|
||||
|
||||
public static bool IsLoginRequest(this Request request)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue