mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: MacCloud: the issue that when revoke token, it may need to get token first
This commit is contained in:
parent
91d1d605c3
commit
91f98d59f0
1 changed files with 2 additions and 0 deletions
|
|
@ -187,6 +187,8 @@ var
|
|||
http: TMiniHttpClient = nil;
|
||||
begin
|
||||
try
|
||||
if NOT _token.isValidAccessToken then
|
||||
Exit;
|
||||
http:= TMiniHttpClient.Create( _params.REVOKE_TOKEN_URI, HttpConst.Method.POST );
|
||||
self.onRevokeToken( http );
|
||||
self.setAuthHeader( http );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue