mirror of
https://github.com/wassname/flask-security.git
synced 2026-08-07 11:22:21 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d8a813004 | ||
|
|
06312ef50f | ||
|
|
c3ad5b2fa6 | ||
|
|
637fc913cd | ||
|
|
e00522f331 |
+2
-2
@@ -6,9 +6,9 @@ python:
|
||||
- "pypy"
|
||||
|
||||
install:
|
||||
- pip install . --quiet --use-mirrors
|
||||
- pip install . --quiet
|
||||
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install importlib --quiet --use-mirrors; fi"
|
||||
- pip install nose simplejson Flask-SQLAlchemy Flask-MongoEngine Flask-Peewee Flask-Mail py-bcrypt MySQL-python --quiet --use-mirrors
|
||||
- pip install nose simplejson Flask-SQLAlchemy Flask-MongoEngine Flask-Peewee py-bcrypt MySQL-python --quiet
|
||||
|
||||
before_script:
|
||||
- mysql -e 'create database flask_security_test;'
|
||||
|
||||
@@ -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
|
||||
-------------
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ copyright = u'2012, Matt Wright'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '1.6.4'
|
||||
version = '1.6.5'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = version
|
||||
|
||||
|
||||
@@ -156,6 +156,10 @@ Feature Flags
|
||||
sent an email with a login link. This feature is
|
||||
experimental and should be used with caution. Defaults
|
||||
to ``False``.
|
||||
``SECURITY_CHANGEABLE`` Specifies if Flask-Security should enable the
|
||||
change password endpoint. The URL for this endpoint is
|
||||
specified by the ``SECURITY_CHANGE_URL`` configuration
|
||||
option. Defaults to ``False``.
|
||||
========================= ======================================================
|
||||
|
||||
Email
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
:license: MIT, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
__version__ = '1.6.4'
|
||||
__version__ = '1.6.5'
|
||||
|
||||
from .core import Security, RoleMixin, UserMixin, AnonymousUser, current_user
|
||||
from .datastore import SQLAlchemyUserDatastore, MongoEngineUserDatastore, PeeweeUserDatastore
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user