modified: app.py

modified:   templates/playlists.html
This commit is contained in:
SimolZimol
2025-06-04 17:57:45 +02:00
parent 0eacd5e433
commit d9507eb46a
2 changed files with 6 additions and 13 deletions

3
app.py
View File

@@ -320,7 +320,8 @@ def invite():
expires = datetime.utcnow() + timedelta(minutes=duration)
invites[token] = expires
invite_link = url_for('guest_join', token=token, _external=True)
return render_template("invite.html", invite_link=invite_link, expires=expires)
# Gib nur den Link als Klartext zurück!
return invite_link
@app.route("/invite/<token>")
def guest_join(token):