Skip to content

Commit

Permalink
fix: Skip username fetch for verification help page as guest (Weasyl#…
Browse files Browse the repository at this point in the history
…1480)

Left this in stash :(
  • Loading branch information
charmander authored Nov 26, 2024
1 parent 4e86948 commit f1f0d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weasyl/controllers/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def help_reports_(request):


def help_verification_(request):
username = define.get_display_name(request.userid)
username = define.get_display_name(request.userid) if request.userid else None

return Response(define.webpage(request.userid, "help/verification.html", [username],
options=("help",),
Expand Down

0 comments on commit f1f0d9b

Please sign in to comment.