Fix user creation cause of dual namespace build
This commit is contained in:
parent
81f8114f24
commit
cfeddb554e
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue