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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p26 2.1.0p1 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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