]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Merge remote-tracking branch 'upstream/pull/3356'
[rails.git] / app / controllers / users_controller.rb
index 42ac6ac11a15e05145d926611215bdaef3437dc4..38a61208c4635120ea9864a65dfd360728914baa 100644 (file)
@@ -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)