I have been searching for a way to not require email varification for new users. I use GitLab in an air gap network so sending emails is out of the question. After hours of searching the internet I finally found a post on google forums that pointed me at a solution.
change to: @@email_regexp = /\A[^@]+@[^@]+\z/
rerun: gitlab-cli reconfigure.
Now any new user you create will not be required to click on a verification email.
If there was an easier way to do this please tell me. I couldn’t find one.