Fix typo
This commit is contained in:
parent
f2dd8d8335
commit
52ffc45d37
|
@ -4,7 +4,7 @@
|
||||||
@model IndexModel
|
@model IndexModel
|
||||||
@{
|
@{
|
||||||
// Check if we are on an allowed domain
|
// Check if we are on an allowed domain
|
||||||
if (Vars.PermittedDomains.All(p => Request.Host.Host != $"{Vars.AuthProxySubdomain}.{p}"))
|
if (Vars.PermittedDomains.All(p => Request.Host.Host != $"{Vars.AuthProxySubdomain}.{p}")) {
|
||||||
Layout = null;
|
Layout = null;
|
||||||
Response.Clear();
|
Response.Clear();
|
||||||
Response.StatusCode = StatusCodes.Status421MisdirectedRequest;
|
Response.StatusCode = StatusCodes.Status421MisdirectedRequest;
|
||||||
|
|
Loading…
Reference in a new issue