Skip to content

Commit 824b4ba

Browse files
And return.
1 parent 443f9bd commit 824b4ba

File tree

1 file changed

+1
-0
lines changed
  • samples/KristofferStrube.Blazor.WebAuthentication.WasmExample/Pages

1 file changed

+1
-0
lines changed

samples/KristofferStrube.Blazor.WebAuthentication.WasmExample/Pages/Index.razor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ private async Task CreateCredential()
112112
errorMessage = $"Was not successfull in registering the credentials. {e.Message}";
113113
credential = null;
114114
Logger.LogWarning(e, "Error during creation of credentials. The challenge was: {0}; The registration response was: {1};", string.Join(", ", challenge.Select(b => $"{b:X2}")), JsonSerializer.Serialize(registrationResponse));
115+
return;
115116
}
116117
}
117118
}

0 commit comments

Comments
 (0)