updated urls

This commit is contained in:
Karl 2025-08-18 15:21:06 +01:00
parent 3cb15005e2
commit 3566409652

3
app.py
View File

@ -306,6 +306,9 @@ def delete_account() -> Response:
# Clear home page cache as well since it shows account stats
cache_key_home = f"view/{session['username']}/home"
cache.delete(cache_key_home)
# Run the NPM config update in a background thread to remove the deleted account's redirect
thread = threading.Thread(target=_update_npm_config_in_background, args=(session["auth_credentials"],))
thread.start()
return redirect(url_for("user_accounts"))
@app.route("/validateAccount", methods=["POST"])