You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/app/account/views.py", line 283, in before_request
and request.endpoint[:8] != 'account.'
TypeError: 'NoneType' object is not subscriptable
Facing error with some urls due to error above
Please help and suggest
Something may help:
if current_user.is_authenticated \
and not current_user.confirmed \
and request.endpoint != 'static':
try:
if request.endpoint[:8] != 'account.' :
return redirect(url_for('account.unconfirmed'))
except:
pass
Thanks
The text was updated successfully, but these errors were encountered:
File "/app/account/views.py", line 283, in before_request
and request.endpoint[:8] != 'account.'
TypeError: 'NoneType' object is not subscriptable
Facing error with some urls due to error above
Please help and suggest
Something may help:
Thanks
The text was updated successfully, but these errors were encountered: