I would add here the Gitlab.config.omniauth.enabled check and remove the duplicate if and additional omniauth box render.