Change last conditional, in case password checking is off.