From eb41f85dd46b4d224aa3f3bc2c05d577ac50625f Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 7 Dec 2024 13:07:58 -0500 Subject: Unmount Pokeviewer engine --- app/controllers/application_controller.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'app/controllers/application_controller.rb') diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c9d4e15..0174cae 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,16 +1,6 @@ class ApplicationController < ActionController::Base protect_from_forgery with: :exception - protected - - def authenticate_pokeviewer(login, token) - user = login && User.find_by_login(login) - - ActiveSupport::SecurityUtils.secure_compare( - ::Digest::SHA256.hexdigest(user.pokeviewer_token), - ::Digest::SHA256.hexdigest(token)) - end - private def after_sign_out_path_for(resource) -- cgit 1.4.1