Use default

This commit is contained in:
Jordan Dominion
2024-11-02 13:10:38 -04:00
parent 362913db3c
commit d6a8e102e6
2 changed files with 2 additions and 2 deletions
@@ -28,7 +28,7 @@ namespace Tgstation.Server.Host.Security.OAuth
public abstract OAuthProvider Provider { get; }
/// <inheritdoc />
public OAuthGatewayStatus GatewayStatus => OAuthConfiguration.Gateway ?? OAuthGatewayStatus.Disabled;
public OAuthGatewayStatus GatewayStatus => OAuthConfiguration.Gateway ?? default;
/// <summary>
/// The <see cref="ILogger"/> for the <see cref="GenericOAuthValidator"/>.
@@ -22,7 +22,7 @@ namespace Tgstation.Server.Host.Security.OAuth
public OAuthProvider Provider => OAuthProvider.GitHub;
/// <inheritdoc />
public OAuthGatewayStatus GatewayStatus => oAuthConfiguration.Gateway ?? OAuthGatewayStatus.Disabled;
public OAuthGatewayStatus GatewayStatus => oAuthConfiguration.Gateway ?? default;
/// <summary>
/// The <see cref="IGitHubServiceFactory"/> for the <see cref="GitHubOAuthValidator"/>.