mirror of https://github.com/JohnHammond/CTFd.git
2.3.1 dev (#1252)
2.3.1 / 2020-02-17 ================== **General** * User confirmation emails now have the correct URL formatbulk-clear-sessions
parent
22c132358e
commit
7cd8d90e0c
|
@ -1,3 +1,10 @@
|
|||
2.3.1 / 2020-02-17
|
||||
==================
|
||||
|
||||
**General**
|
||||
* User confirmation emails now have the correct URL format
|
||||
|
||||
|
||||
2.3.0 / 2020-02-17
|
||||
==================
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ if sys.version_info[0] < 3:
|
|||
reload(sys) # noqa: F821
|
||||
sys.setdefaultencoding("utf-8")
|
||||
|
||||
__version__ = "2.3.0"
|
||||
__version__ = "2.3.1"
|
||||
|
||||
|
||||
class CTFdRequest(Request):
|
||||
|
|
|
@ -25,7 +25,7 @@ auth = Blueprint("auth", __name__)
|
|||
|
||||
|
||||
@auth.route("/confirm", methods=["POST", "GET"])
|
||||
@auth.route("/confirm/<data>", methods=["GET"])
|
||||
@auth.route("/confirm/<data>", methods=["POST", "GET"])
|
||||
@ratelimit(method="POST", limit=10, interval=60)
|
||||
def confirm(data=None):
|
||||
if not get_config("verify_emails"):
|
||||
|
|
|
@ -80,7 +80,9 @@ def verify_email_address(addr):
|
|||
get_config("verification_email_body") or DEFAULT_VERIFICATION_EMAIL_BODY,
|
||||
ctf_name=get_config("ctf_name"),
|
||||
ctf_description=get_config("ctf_description"),
|
||||
url=url_for("auth.confirm", data=serialize(addr), _external=True),
|
||||
url=url_for(
|
||||
"auth.confirm", data=serialize(addr), _external=True, _method="GET"
|
||||
),
|
||||
)
|
||||
|
||||
subject = safe_format(
|
||||
|
|
|
@ -26,7 +26,7 @@ author = u"Kevin Chung"
|
|||
# The short X.Y version
|
||||
version = u""
|
||||
# The full version, including alpha/beta/rc tags
|
||||
release = u"2.3.0"
|
||||
release = u"2.3.1"
|
||||
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ctfd",
|
||||
"version": "2.3.0",
|
||||
"version": "2.3.1",
|
||||
"description": "CTFd is a Capture The Flag framework focusing on ease of use and customizability. It comes with everything you need to run a CTF and it's easy to customize with plugins and themes.",
|
||||
"main": "index.js",
|
||||
"directories": {
|
||||
|
|
Loading…
Reference in New Issue