mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Fixing #1170: Changing email should change social profile gravatar email.
This commit is contained in:
parent
fb51c29fe2
commit
6124b40bc7
1 changed files with 4 additions and 0 deletions
|
@ -182,6 +182,10 @@ class AccountSettingsForm(forms.Form):
|
|||
self.user.email = email
|
||||
self.user.save()
|
||||
|
||||
sp = MSocialProfile.get_user(self.user.pk)
|
||||
sp.email = email
|
||||
sp.save()
|
||||
|
||||
if old_password or new_password:
|
||||
change_password(self.user, old_password, new_password)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue