2.3.1 / 2020-02-17
==================

**General**
* User confirmation emails now have the correct URL format
bulk-clear-sessions
Kevin Chung 2020-02-17 20:07:17 -05:00 committed by GitHub
parent 22c132358e
commit 7cd8d90e0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 5 deletions

View File

@ -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
==================

View File

@ -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):

View File

@ -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"):

View File

@ -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(

View File

@ -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 ---------------------------------------------------

View File

@ -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": {