flask-login "s login status before trying to log in is False,
. After login, the output login status is True,
, but then when you jump to the web page, the login status automatically changes to False?
. It"s a problem that no one else seems to have encountered on the Internet.
ps:
if not user.verify_password(password)
, .
,
, redirect(next_page or url_for("index"))
.
, .
models, , .