Skip to content

Commit

Permalink
Fix auth via token first time
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHeart committed May 11, 2024
1 parent 3f42b7d commit bae88e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ShockOsc/Services/AuthService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public AuthService(ILogger<AuthService> logger, BackendHubManager backendHubMana

public async Task Authenticate()
{
_logger.LogInformation("Setting up api client");
_apiClient.SetupApiClient();
_logger.LogInformation("Setting up live client");
await _backendHubManager.SetupLiveClient();
_logger.LogInformation("Starting live client");
Expand Down
1 change: 0 additions & 1 deletion ShockOsc/Ui/Pages/Authentication/LoginPart.razor
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
public async Task Login()
{
await ConfigManager.SaveAsync();
ApiClient.SetupApiClient();
await ProceedAuthenticated();
}

Expand Down

0 comments on commit bae88e3

Please sign in to comment.