diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-07 14:09:29 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-07 14:09:29 +0300 |
commit | a73df4f72d9d5fbc118b80cea6f6bda4f877f5df (patch) | |
tree | 109a4aa251dbbe28ded0387695959d69becac086 /app/controllers/profiles_controller.rb | |
parent | 4e002a71670587e8b1e2a97833fef059441c8ca8 (diff) | |
download | gitlab-ce-a73df4f72d9d5fbc118b80cea6f6bda4f877f5df.tar.gz |
Allow oauth signup without email
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers/profiles_controller.rb')
-rw-r--r-- | app/controllers/profiles_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb index 9234cd1708f..9c9a129b26b 100644 --- a/app/controllers/profiles_controller.rb +++ b/app/controllers/profiles_controller.rb @@ -3,6 +3,7 @@ class ProfilesController < ApplicationController before_filter :user before_filter :authorize_change_username!, only: :update_username + skip_before_filter :require_email, only: [:show, :update] layout 'profile' |