Skip to content

Commit

Permalink
Add itsdangerous to requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
kristallizer committed Jun 7, 2014
1 parent 1903637 commit 74a17ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def request_reset_password():
data = json.loads(response.text)
message = Message("Metpetdb: Reset Password",
sender=env('DEFAULT_MAIL_SENDER'),
recipients = [form.email.data])
recipients=[form.email.data])
reset_url = url_for('reset_password', token=data['reset_token'],
_external=True)
message.body = render_template('reset_password_email.html',
Expand All @@ -149,7 +149,6 @@ def reset_password(token):
'password': form.password.data}
response = post(env('API_HOST') + '/reset-password/', data=payload)
if response.status_code == 200:
print(response.text)
data = json.loads(response.text)
session['email'] = data['email']
session['api_key'] = data['api_key']
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
Flask==0.10.1
Flask-Mail==0.9.0
Flask-WTF==0.9.5
Jinja2==2.7.2
MarkupSafe==0.23
Pillow==2.4.0
WTForms==1.0.5
Werkzeug==0.9.4
argparse==1.2.1
blinker==1.3
django-dotenv==1.2
django-getenv==1.3.1
drest==0.9.12
Expand Down

0 comments on commit 74a17ad

Please sign in to comment.