From 06312ef50fdcff32a5372b0c729e5dd1d6141ddb Mon Sep 17 00:00:00 2001 From: Matt Wright Date: Thu, 20 Jun 2013 16:01:22 -0400 Subject: [PATCH] Fix typo with `_external` parameter in confirmable.py. Fixes #126 --- CHANGES | 7 +++++++ flask_security/confirmable.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 9d0125b..b37a0fe 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,13 @@ Flask-Security Changelog Here you can see the full list of changes between each Flask-Security release. +Version 1.6.5 +------------- + +Released June 20th 2013 + +- Fixed bug in `flask.ext.security.confirmable.generate_confirmation_link` + Version 1.6.4 ------------- diff --git a/flask_security/confirmable.py b/flask_security/confirmable.py index 3c90cee..4edcf8f 100644 --- a/flask_security/confirmable.py +++ b/flask_security/confirmable.py @@ -27,7 +27,7 @@ _datastore = LocalProxy(lambda: _security.datastore) def generate_confirmation_link(user): token = generate_confirmation_token(user) - return url_for_security('confirm_email', token=token, _extenal=True), token + return url_for_security('confirm_email', token=token, _external=True), token def send_confirmation_instructions(user):