Clear the openid URL when an account is deleted
authorTom Hughes <tom@compton.nu>
Wed, 5 Sep 2012 14:33:01 +0000 (15:33 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 5 Sep 2012 14:33:01 +0000 (15:33 +0100)
app/models/user.rb

index 68537e749fa5c794bba5ef5f13a49911f563e829..3b2a12ca0314ec0cbcae633b08cf0bb733cfbef8 100644 (file)
@@ -198,6 +198,7 @@ class User < ActiveRecord::Base
     self.image = nil
     self.email_valid = false
     self.new_email = nil
+    self.openid_url = nil
     self.status = "deleted"
     self.save
   end