From 0ec0fd077b07fd619f292a2c68842542b72310e4 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 26 Apr 2022 16:11:40 +0200 Subject: [PATCH] Allow different user/password per repository in background mode (#5488) * Allow different user/password per repository Clear auth buffer to allow different user/password per repository in background mode * Uppercase for class name Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com> --- src/background/zcl_abapgit_background.clas.abap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/background/zcl_abapgit_background.clas.abap b/src/background/zcl_abapgit_background.clas.abap index f84e5b347..806ddd843 100644 --- a/src/background/zcl_abapgit_background.clas.abap +++ b/src/background/zcl_abapgit_background.clas.abap @@ -119,6 +119,10 @@ CLASS ZCL_ABAPGIT_BACKGROUND IMPLEMENTATION. io_repo = lo_repo ii_log = li_log it_settings = -settings ). + + " Clear auth buffer to allow different user/password per repository in background mode + zcl_abapgit_login_manager=>clear( ). + CATCH zcx_abapgit_exception INTO lx_error. li_log->add_exception( lx_error ). ENDTRY.