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>
This commit is contained in:
Alex 2022-04-26 16:11:40 +02:00 committed by GitHub
parent b3c89a8ff2
commit 0ec0fd077b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,6 +119,10 @@ CLASS ZCL_ABAPGIT_BACKGROUND IMPLEMENTATION.
io_repo = lo_repo
ii_log = li_log
it_settings = <ls_list>-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.