From 5027a70fec6052227b3b0d77c03d9a58462b2c97 Mon Sep 17 00:00:00 2001 From: Kai Krueger Date: Tue, 27 Apr 2010 21:34:41 +0100 Subject: [PATCH] It was not possible to remove an OpenID from your user profile --- app/controllers/user_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index f9755204a..00dbcafb6 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -133,6 +133,8 @@ class UserController < ApplicationController @user.home_lat = params[:user][:home_lat] @user.home_lon = params[:user][:home_lon] + @user.openid_url = nil if (params[:user][:openid_url].length == 0) + if @user.save set_locale -- 2.39.5