Commit cfeddb55 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix user creation cause of dual namespace build

parent 04b67e846850
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