mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 13:54:15 +01:00
add renew and refresh oauth buttons
This commit is contained in:
parent
d60d1979ce
commit
c771a9a4ff
4 changed files with 88 additions and 30 deletions
|
|
@ -173,7 +173,7 @@ public sealed partial class ApiController : DisposableMediatorSubscriberBase, IM
|
|||
return;
|
||||
}
|
||||
|
||||
if (!await _tokenProvider.TryUpdateOAuth2LoginTokenAsync().ConfigureAwait(false))
|
||||
if (!await _tokenProvider.TryUpdateOAuth2LoginTokenAsync(_serverManager.CurrentServer).ConfigureAwait(false))
|
||||
{
|
||||
Logger.LogWarning("OAuth2 login token could not be updated");
|
||||
_connectionDto = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue