On Friday, March 6, 2015 at 4:19:24 PM UTC+2, Daniel Ruiz Molina wrote:
>
> Hello,
>
> I have installed Gitlab Community Edition in a CentOS 7 and I have 
> modified 4 files to limit user registrations to certain email domains. 
> However, after modifying that files, I can still register from domains that 
> should be not allowed. Also, I have added a debugging line that creates a 
> file in /tmp in the first file I have modified 
> (/opt/gitlab/embedded/service/gitlab-rails/app/models/user.rb) and my file 
> (/tmp/file1) is not created in /tmp, so I suppose registration process is 
> not reading that file.
>
> Files I have modified are: 
>
> https://gitlab.com/patternoia/gitlab-ce/commit/36a83823e58e8560eab0d5f0cab5055bed592ba8?view=inline
>
> /opt/gitlab/embedded/service/gitlab-rails/app/models/user.rb
> /opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb
> /opt/gitlab/embedded/service/gitlab-rails/spec/models/user_spec.rb
> /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml.example
>
>
> In my CentOS system, gitlab files are located in 
> /opt/gitlab/embedded/service/gitlab-rails... but I'm confused if that are 
> the correct files or, maybe, I should modified other ones 
> (/opt/gitlab/embedded/service/gitlab-ci/...)
>
> Please, can someone help me?
>
> Thanks.
>
>
>
>
I guess you took the code out of 
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/253 

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/cc0ebde8-80c0-417d-bdbf-4e37db9becba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to