From 0b43f6b5a0646c9fdbdf2371e32001d20d31cc85 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 24 Oct 2021 10:37:08 +0100 Subject: [PATCH] Drop duplicate unconfirmed_login definition This allows third party logins to use the common definition from the SessionMethods concern which specifies the controller. --- app/controllers/users_controller.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 42ac6ac11..38a61208c 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -341,17 +341,6 @@ class UsersController < ApplicationController private - ## - # - def unconfirmed_login(user) - session[:token] = user.tokens.create.token - - redirect_to :action => "confirm", :display_name => user.display_name - - session.delete(:remember_me) - session.delete(:referer) - end - ## # update a user's details def update_user(user, params) -- 2.39.5