Code cleanup
This commit is contained in:
@@ -146,9 +146,9 @@ static Task WriteUnauthorizedChallengeAsync(HttpContext context)
|
|||||||
{
|
{
|
||||||
Status = StatusCodes.Status401Unauthorized,
|
Status = StatusCodes.Status401Unauthorized,
|
||||||
Title = "Unauthorized",
|
Title = "Unauthorized",
|
||||||
Detail = "Unauthorized"
|
Detail = "Unauthorized",
|
||||||
|
Extensions = { ["error"] = "Unauthorized" }
|
||||||
};
|
};
|
||||||
problem.Extensions["error"] = "Unauthorized";
|
|
||||||
return context.Response.WriteAsJsonAsync(problem);
|
return context.Response.WriteAsJsonAsync(problem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -219,6 +219,7 @@ button .chip {
|
|||||||
/* Slider */
|
/* Slider */
|
||||||
input[type="range"].full-slider {
|
input[type="range"].full-slider {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
|
appearance: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
|
|||||||
Reference in New Issue
Block a user