And it was valid – with the old version. It's a little safer now because the password protection is not disabled but worked around instead.
It stops doing that on Windows and Linux, so I can only deduce that it does the same on macOS.
The choice doesn't matter if the outcome is the same.