Skip to content

Commit de2f72c

Browse files
committed
Fixed unreachable code.
1 parent 30ef016 commit de2f72c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Shuttle.Access.Application/ConfigureApplicationParticipant.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,6 @@ public async Task HandleAsync(ConfigureApplication message, CancellationToken ca
174174

175175
logger.LogDebug($"Registering system administrator with identity name '{message.AdministratorIdentityName}'.");
176176

177-
return;
178-
179177
var systemAdministrator = (await identityQuery.SearchAsync(new Query.Identity.Specification().WithName(message.AdministratorIdentityName), cancellationToken)).FirstOrDefault();
180178

181179
var registerIdentityMessage = new RegisterIdentity(systemAdministrator?.Id ?? Guid.NewGuid(), message.AdministratorIdentityName, string.Empty, string.Empty, hashingService.Sha256(message.AdministratorPassword), "system://access", true, systemTenantId, "system")

0 commit comments

Comments
 (0)