RIOChing

关注

flask报错if current_user.is_authenticated:‘str‘ object has no attribute ‘is_authenticated‘

RIOChing

关注

阅读 45

2022-01-27

清除浏览器里面的cookie,再刷新就可以正常使用了。应该是修改数据库后,还是原来的用户,因此会报错。

相关推荐

一叶轻舟okok

AttributeError: 'str' object has no attribute 'decode'

一叶轻舟okok 115 0 0

_LEON_

celery AttributeError: 'str' object has no attribute 'items'

_LEON_ 105 0 0

小暴龙要抱抱

'str' object has no attribute 'resolve_expression'

小暴龙要抱抱 24 0 0

香小蕉

AttributeError: type object 'User' has no attribute 'objects'

香小蕉 57 0 0

村里搬砖的月野兔

AttributeError: ‘list‘ object has no attribute ‘split‘报错

村里搬砖的月野兔 125 0 0

秀儿2020

关于AttributeError:‘Flask‘ object has no attribute ‘ensure_sync‘的报错解决

秀儿2020 109 0 0

金刚豆

User must be authenticated with Spring Security before authorization can be completed.

金刚豆 61 0 0

鲤鱼打个滚

已解决AttributeError: ‘str‘ object has no attribute ‘decode‘方案一

鲤鱼打个滚 50 0 0

修炼之士

python报错AttributeError: ‘NoneType‘ object has no attribute ‘split‘

修炼之士 122 0 0

云上笔记

FastAPI报错:AttributeError 'Depends' object has no attribute 'query'

云上笔记 68 0 0

精彩评论(0)

0 0 举报