Add a DocumentVersion overview that can be sorted and can be filtered.
This commit is contained in:
@@ -5,9 +5,6 @@ from itsdangerous import URLSafeTimedSerializer
|
||||
from common.utils.nginx_utils import prefixed_url_for
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def confirm_token(token, expiration=3600):
|
||||
serializer = URLSafeTimedSerializer(current_app.config['SECRET_KEY'])
|
||||
try:
|
||||
@@ -50,4 +47,3 @@ def send_reset_email(user):
|
||||
reset_url = prefixed_url_for('security_bp.reset_password', token=token, _external=True)
|
||||
html = render_template('email/reset_password.html', reset_url=reset_url)
|
||||
send_email(user.email, "Reset Your Password", html)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user