projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5e6156
)
Clear the openid URL when an account is deleted
author
Tom Hughes
<tom@compton.nu>
Wed, 5 Sep 2012 14:33:01 +0000
(15:33 +0100)
committer
Tom Hughes
<tom@compton.nu>
Wed, 5 Sep 2012 14:33:01 +0000
(15:33 +0100)
app/models/user.rb
patch
|
blob
|
history
diff --git
a/app/models/user.rb
b/app/models/user.rb
index 68537e749fa5c794bba5ef5f13a49911f563e829..3b2a12ca0314ec0cbcae633b08cf0bb733cfbef8 100644
(file)
--- a/
app/models/user.rb
+++ b/
app/models/user.rb
@@
-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