diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-08-27 11:21:57 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-08-27 13:06:14 +0300 |
commit | ff30b407545b2b873ffbe9d5d3d603e550013cf3 (patch) | |
tree | b91fcccc7efc546b1928378e8b47d7579cc38a8e /app/controllers/users_controller.rb | |
parent | de3b7d9c522db8d129a64f2b86297cf90413cb1e (diff) | |
download | gitlab-ce-ff30b407545b2b873ffbe9d5d3d603e550013cf3.tar.gz |
Make all profile publicmake_all_profile_public
Diffstat (limited to 'app/controllers/users_controller.rb')
-rw-r--r-- | app/controllers/users_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 2bb5c338cf6..1484356a7f4 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -51,10 +51,6 @@ class UsersController < ApplicationController def set_user @user = User.find_by_username!(params[:username]) - - unless current_user || @user.public_profile? - return authenticate_user! - end end def authorized_projects_ids |