MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / __init__

Method __init__

Scripts/ButSystem.py:12025–12039  ·  view source on GitHub ↗

__init__. Internal helper function. This docstring was added automatically to improve maintainability. Args: self: Parameter. d: Parameter. Returns: Varies.

(self, d)

Source from the content-addressed store, hash-verified

12023 flash("Appearance updated.")
12024 return redirect(url_for("settings_appearance_page"))
12025
12026@app.route("/recover", methods=["GET", "POST"])
12027def recover():
12028 """recover.
12029
12030Internal helper function.
12031
12032This docstring was added automatically to improve maintainability.
12033
12034Returns:
12035 Varies.
12036"""
12037 # Password recovery using security questions
12038 if request.method == "GET":
12039 return render_template("recover.html", title="Recover")
12040
12041 ip = _client_ip() or "?"
12042 if _rate_limit_hit("recover_post", ip, limit=10, window_sec=1800):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected