mirror of
https://github.com/bitwarden/server
synced 2025-12-22 19:23:45 +00:00
Changed all C# control flow block statements to include space between keyword and open paren
This commit is contained in:
@@ -15,12 +15,12 @@ namespace Bit.Core.IdentityServer
|
||||
return (request) =>
|
||||
{
|
||||
var authorization = request.Headers[_authHeader].FirstOrDefault();
|
||||
if(string.IsNullOrWhiteSpace(authorization))
|
||||
if (string.IsNullOrWhiteSpace(authorization))
|
||||
{
|
||||
return request.Query[_queuryScheme].FirstOrDefault();
|
||||
}
|
||||
|
||||
if(authorization.StartsWith(_headerScheme, StringComparison.OrdinalIgnoreCase))
|
||||
if (authorization.StartsWith(_headerScheme, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return authorization.Substring(_headerScheme.Length).Trim();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user