From 7c8617e512032809c4174b5dbcf30131d0359b7f Mon Sep 17 00:00:00 2001 From: Sundar Raman Date: Tue, 9 Jul 2013 15:36:08 -0400 Subject: [PATCH 1/2] Add post-login-view configuration --- etc/config.py.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/config.py.tmpl b/etc/config.py.tmpl index 7405597..19ab190 100644 --- a/etc/config.py.tmpl +++ b/etc/config.py.tmpl @@ -115,7 +115,9 @@ AUTH = { 'user_service_name': 'cdw', 'password_encryptor': '%(app_auth_password_encryptor)s', 'salt': '%(app_auth_salt)s', - 'post_connect_view': 'mobile#profile?new=true' + 'post_connect_view': 'mobile#profile?new=true', + # Due to a coding inconsistency we need both connect_view and login_view + 'post_login_view': 'mobile#profile?new=true' } # Social From 7a38bbdcca18e486fd3e6db0e15c50db0972813f Mon Sep 17 00:00:00 2001 From: Nima Vakili Date: Wed, 24 Jul 2013 11:53:15 -0400 Subject: [PATCH 2/2] changed form to form.csrf_token in the templates --- cdw/templates/profile_edit.html | 4 ++-- cdw/templates/register.html | 4 ++-- cdw/templates/suggest.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cdw/templates/profile_edit.html b/cdw/templates/profile_edit.html index c94fa85..04803a8 100644 --- a/cdw/templates/profile_edit.html +++ b/cdw/templates/profile_edit.html @@ -18,7 +18,7 @@

Back to Profile<