How could I remove the reference to 2FA (Not being used / usable in this environment, closed from Internet). 2FA is not activated in NS7, and as said, would probably not even work.
This made me quite unsure…
Could I just remove that segment of code - but would that be update safe?
it is in javascript code, you cannot as is remove it, I thought that you would remove the list of url available
If you want to make it broken then you could remove the update API, but the next cockpit update will make it available again. Saying that we do not know if we will push another update
In case of emergency, 2FA can be disabled accessing the server from a physical console like a keyboard and a monitor, a serial cable or a VNC-like connection for virtual machines: