remove logged_in_elsewhere as per code review feedback

This commit is contained in:
Kenneth Kehl
2024-05-08 12:45:01 -07:00
parent 852c0e57c8
commit 26988d255f
3 changed files with 1 additions and 14 deletions

View File

@@ -151,8 +151,6 @@ def sign_in():
return redirect(redirect_url)
return redirect(url_for("main.show_accounts_or_dashboard"))
other_device = current_user.logged_in_elsewhere()
token = generate_token(
str(request.remote_addr),
current_app.config["SECRET_KEY"],
@@ -166,7 +164,6 @@ def sign_in():
return render_template(
"views/signin.html",
again=bool(redirect_url),
other_device=other_device,
initial_signin_url=url,
)