Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryJi529 committed Jun 4, 2024
1 parent 9fc69e7 commit b24a675
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Morningstar/views/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
def get_image_captcha(request: HttpRequest):
"""生成图片验证码"""
image_object, code = generate_image()
request.session.cycle_key()
session_key = request.session.session_key

conn = get_redis_connection("default")
Expand Down

0 comments on commit b24a675

Please sign in to comment.