Werk #14322: Fix initial login of remote site if login to web GUI is not allowed

Component Setup
Title Fix initial login of remote site if login to web GUI is not allowed
Date May 31, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p26 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If a remote site with replication enabled was succesfully logged in and the option "Direct login to Web GUI allowed" for this site was disabled afterwards, logging out of that site on page "Distributed Monitoring" and trying to login again lead to the error "Login is not permitted: Cannot connect to remote site: Permission denied: Invalid login credentials.".

To the list of all Werks