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 68537e7..3b2a12c 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