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/helpers/admins_helper.rb 1 location

@@ 27-29 (lines=3) @@
24
    Room.find_by(bbb_id: room_id).owner.email
25
  end
26
27
  def invite_registration
28
    @settings.get_value("Registration Method") == Rails.configuration.registration_methods[:invite]
29
  end
30
31
  def room_authentication_string
32
    if @settings.get_value("Room Authentication") == "true"

app/controllers/concerns/registrar.rb 1 location

@@ 26-28 (lines=3) @@
23
    @settings.get_value("Registration Method") == Rails.configuration.registration_methods[:approval]
24
  end
25
26
  def invite_registration
27
    @settings.get_value("Registration Method") == Rails.configuration.registration_methods[:invite]
28
  end
29
30
  # Returns a hash containing whether the user has been invited and if they
31
  # signed up with the same email that they were invited with