Gitlab] how to disable user confirmation email

I am currently using Gitlab and I like to use this excellent one.

However, some users cannot receive confirmation email and cannot register. I would like to 1) confirm them using my administrator privilege or 2) configure the system so as not to send a confirmation email.

Any ideas? Thank you in advance.

+6
source share
1 answer

Like @ shin-haeng-kang, setting a signup_enabled: false for a new user in the site’s settings and creating users from the admin menu, and then editing the password after creating the user will work.

If users already exist, I found the following issue on the issue , which shows how to manually edit the postgres database.

From gitlab server:

 sudo -u git -H psql -d gitlabhq_production gitlabhq_production=> update users set confirmation_token=null, confirmed_at=now() where confirmed_at is null; 
+5
source

Source: https://habr.com/ru/post/987186/


All Articles