mirror of
https://github.com/jfmcbrayer/brutaldon
synced 2025-01-10 22:14:12 +01:00
Fix crash of privacy page for logged out user
This commit is contained in:
parent
9b37f0d2ab
commit
fb2f9bc8a3
@ -638,7 +638,7 @@ def about(request):
|
||||
def privacy(request):
|
||||
return render(request, 'privacy.html',
|
||||
{"fullbrutalism": fullbrutalism_p(request),
|
||||
'own_acct' : request.session['user']})
|
||||
'own_acct' : request.session['user', None]})
|
||||
|
||||
@cache_page(60 * 30)
|
||||
@br_login_required
|
||||
|
Loading…
Reference in New Issue
Block a user