GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 3-3 lines in 2 locations

app/controllers/users_controller.rb 1 location

@@ 170-172 (lines=3) @@
167
    @user = User.where(uid: params[:user_uid]).includes(:roles).first
168
  end
169
170
  def ensure_unauthenticated
171
    redirect_to current_user.main_room if current_user && params[:old_twitter_user_id].nil?
172
  end
173
174
  # Verify that GreenLight is configured to allow user signup.
175
  def check_user_signup_allowed

app/controllers/concerns/authenticator.rb 1 location

@@ 59-61 (lines=3) @@
56
    end
57
  end
58
59
  def ensure_unauthenticated_except_twitter
60
    redirect_to current_user.main_room if current_user && params[:old_twitter_user_id].nil?
61
  end
62
63
  # Logs current user out of GreenLight.
64
  def logout