This commit is contained in:
SiloDS
2021-07-30 16:30:32 +01:00
parent 72a2f1e24a
commit 648242da2a
2 changed files with 5 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ def connectwpa(ssid):
return render_template("wpa.html", title="WPA Password", form=form)
@app.route("/disconnect/", methods=["GET", "POST"])
@app.route("/disconnect/<ssid>", methods=["GET", "POST"])
@login_required
def disconnect(ssid):
if disconnect_network():