mirror of
https://github.com/wassname/flask-security.git
synced 2026-08-02 12:40:33 +08:00
Change password reset view to use packaged template
This commit is contained in:
@@ -245,8 +245,9 @@ class Security(object):
|
||||
|
||||
identity_loaded.connect_via(app)(_on_identity_loaded)
|
||||
|
||||
app.register_blueprint(_create_blueprint(app),
|
||||
url_prefix=cv('URL_PREFIX', app=app))
|
||||
bp = _create_blueprint(app)
|
||||
pre = cv('URL_PREFIX', app=app)
|
||||
app.register_blueprint(bp, url_prefix=pre)
|
||||
|
||||
app.security = self
|
||||
|
||||
|
||||
Reference in New Issue
Block a user