Skip to content

Commit

Permalink
fix: should refuse to handle without clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
7086cmd committed Nov 27, 2024
1 parent c55a70c commit 74c430c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/users_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def auth_user(auth: AuthUser, request: Request, meta=Depends(binding_user_
meta['ip'], datetime.timestamp(datetime.now()))

if not log.includes_clarity:
log.with_text(f'''Outdated frontend version. You should refresh pages until a prompt appears, or reinstall the browser.''')
raise HTTPException(status_code=400, detail=f'''Outdated frontend version. You should refresh pages until a prompt appears, or reinstall the browser.''')

await log.insert_log()

Expand Down

0 comments on commit 74c430c

Please sign in to comment.