Compare commits

..

No commits in common. "0d056fa5de9e5c4afc237b24d308d58c91152760" and "2da6c6584ac889db485fcb1b82dae8009024b0dd" have entirely different histories.

3 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.3.11"
current_version = "1.3.10"
commit = true
tag = true
tag_name = "{new_version}"

View File

@ -1 +1 @@
1.3.11
1.3.10

2
app.py
View File

@ -162,6 +162,8 @@ def user_accounts() -> Union[Response, str]:
@app.route("/share", methods=["GET"])
def share() -> Response:
"""Handles shared text from PWA."""
if not session.get("logged_in"):
return redirect(url_for("index"))
shared_text = request.args.get("text")
return redirect(url_for("add_account", shared_text=shared_text))