Avatar is now server via gravatar HTTPS
This commit is contained in:
parent
31be965af9
commit
954251051c
|
@ -23,7 +23,7 @@ class User(AbstractBaseUser,
|
|||
@property
|
||||
def avatar(self):
|
||||
avatar = '{}{}?s=300'.format(
|
||||
'http://www.gravatar.com/avatar/',
|
||||
'https://www.gravatar.com/avatar/',
|
||||
md5(self.email.lower()).hexdigest()
|
||||
)
|
||||
return avatar
|
||||
|
|
Reference in New Issue