summaryrefslogtreecommitdiff
path: root/app/controllers/profiles_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-07 14:09:29 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-07 14:09:29 +0300
commita73df4f72d9d5fbc118b80cea6f6bda4f877f5df (patch)
tree109a4aa251dbbe28ded0387695959d69becac086 /app/controllers/profiles_controller.rb
parent4e002a71670587e8b1e2a97833fef059441c8ca8 (diff)
downloadgitlab-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.rb1
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'