From e3165461983ae36d3b94b470dda64d3cfc08f91f Mon Sep 17 00:00:00 2001 From: Fabian Lupa Date: Sun, 5 Feb 2017 16:41:49 +0100 Subject: [PATCH] Wait 1 second after access token generation --- src/zabapgit_2fa.prog.abap | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/zabapgit_2fa.prog.abap b/src/zabapgit_2fa.prog.abap index 329b44a4d..5a2883313 100644 --- a/src/zabapgit_2fa.prog.abap +++ b/src/zabapgit_2fa.prog.abap @@ -373,6 +373,9 @@ CLASS lcl_2fa_github_authenticator IMPLEMENTATION. EXPORTING iv_error_text = 'Token generation failed: parser error' ##NO_TEXT. ENDIF. + + " GitHub might need some time until the new token is ready to use, give it a second + CALL FUNCTION 'RZL_SLEEP'. ENDMETHOD. METHOD set_new_token_request.