User Email Verification

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.

edit: /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/devise-3.2.4/lib/devise.rb
line: 123
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.

Did this actually work for you? I looks like it just changes the pattern used to test whether an email address is formatted properly.