summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-09 15:25:31 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-09 15:25:31 +0300
commitf7ef23e41210a43d75fe3255562792be3636f849 (patch)
treeb1c8701c0b86068e12168e4a53d21daecda6c010 /app/models/user.rb
parent551fa4c9d017b42ca362055d8bddb817bb395a52 (diff)
downloadgitlab-ce-f7ef23e41210a43d75fe3255562792be3636f849.tar.gz
Send devise emails async
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 5d742578c42..4d46efe42de 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -42,8 +42,8 @@ require 'carrierwave/orm/activerecord'
require 'file_size_validator'
class User < ActiveRecord::Base
- devise :database_authenticatable, :token_authenticatable, :lockable,
- :recoverable, :rememberable, :trackable, :validatable, :omniauthable, :registerable
+ devise :database_authenticatable, :token_authenticatable, :lockable, :async,
+ :recoverable, :rememberable, :trackable, :validatable, :omniauthable
attr_accessible :email, :password, :password_confirmation, :remember_me, :bio, :name, :username,
:skype, :linkedin, :twitter, :color_scheme_id, :theme_id, :force_random_password,