Add nullability to Web.Website, Sqlite & SqlServer
This commit is contained in:
@@ -127,13 +127,13 @@ namespace Umbraco.Extensions
|
||||
this IEndpointRouteBuilder endpoints,
|
||||
Type controllerType,
|
||||
string rootSegment,
|
||||
string areaName,
|
||||
string? areaName,
|
||||
string defaultAction = "Index",
|
||||
bool includeControllerNameInRoute = true,
|
||||
object? constraints = null)
|
||||
{
|
||||
// If there is an area name it's a plugin controller, and we should use the area name instead of surface
|
||||
string prefixPathSegment = areaName.IsNullOrWhiteSpace() ? "Surface" : areaName;
|
||||
string prefixPathSegment = areaName.IsNullOrWhiteSpace() ? "Surface" : areaName!;
|
||||
|
||||
endpoints.MapUmbracoRoute(
|
||||
controllerType,
|
||||
|
||||
@@ -14,6 +14,6 @@ namespace Umbraco.Cms.Web.Common.Security
|
||||
Task<IdentityResult> UpdateExternalAuthenticationTokensAsync(ExternalLoginInfo externalLogin);
|
||||
Task<SignInResult> ExternalLoginSignInAsync(ExternalLoginInfo loginInfo, bool isPersistent, bool bypassTwoFactor = false);
|
||||
Task<MemberIdentityUser> GetTwoFactorAuthenticationUserAsync();
|
||||
Task<SignInResult> TwoFactorSignInAsync(string provider, string code, bool isPersistent, bool rememberClient);
|
||||
Task<SignInResult> TwoFactorSignInAsync(string? provider, string? code, bool isPersistent, bool rememberClient);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user