Merge pull request #210 from liangliangyy/dev

修复oauth登录bug
pull/12/head
且听风吟 7 years ago committed by GitHub
commit 9d6d59f442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -71,7 +71,7 @@ def oauth_user_login_signal_handler(sender, **kwargs):
oauthuser.picture = save_user_avatar(oauthuser.picture)
oauthuser.save()
delete_view_cache(oauthuser.author.username)
delete_sidebar_cache(oauthuser.author.username)
cache.clear()

Loading…
Cancel
Save