mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 13:16:09 +10:00
Fix user creation cause of dual namespace build
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
class UserObserver < ActiveRecord::Observer
|
||||
def after_create(user)
|
||||
user.create_namespace(path: user.username, name: user.name)
|
||||
|
||||
log_info("User \"#{user.name}\" (#{user.email}) was created")
|
||||
|
||||
Notify.new_user_email(user.id, user.password).deliver
|
||||
|
||||
Reference in New Issue
Block a user