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 = 4-4 lines in 2 locations

app/controllers/admins_controller.rb 2 locations

@@ 147-150 (lines=4) @@
144
    redirect_to admin_site_settings_path, flash: { success: I18n.t("administrator.flash.settings") }
145
  end
146
147
  def coloring_darken
148
    @settings.update_value("Primary Color Darken", params[:color])
149
    redirect_to admin_site_settings_path, flash: { success: I18n.t("administrator.flash.settings") }
150
  end
151
152
  # POST /admins/room_authentication
153
  def room_authentication
@@ 142-145 (lines=4) @@
139
    redirect_to admin_site_settings_path, flash: { success: I18n.t("administrator.flash.settings") }
140
  end
141
142
  def coloring_lighten
143
    @settings.update_value("Primary Color Lighten", params[:color])
144
    redirect_to admin_site_settings_path, flash: { success: I18n.t("administrator.flash.settings") }
145
  end
146
147
  def coloring_darken
148
    @settings.update_value("Primary Color Darken", params[:color])