Commit cfeddb55 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix user creation cause of dual namespace build

parent 81f8114f
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment