__init__. Internal helper function. This docstring was added automatically to improve maintainability. Args: self: Parameter. d: Parameter. Returns: Varies.
(self, d)
| 12023 | flash("Appearance updated.") |
| 12024 | return redirect(url_for("settings_appearance_page")) |
| 12025 | |
| 12026 | @app.route("/recover", methods=["GET", "POST"]) |
| 12027 | def recover(): |
| 12028 | """recover. |
| 12029 | |
| 12030 | Internal helper function. |
| 12031 | |
| 12032 | This docstring was added automatically to improve maintainability. |
| 12033 | |
| 12034 | Returns: |
| 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): |
nothing calls this directly
no outgoing calls
no test coverage detected