summaryrefslogtreecommitdiff
path: root/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'views.py')
-rw-r--r--views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/views.py b/views.py
index dd8f1d8..d95859a 100644
--- a/views.py
+++ b/views.py
@@ -11,8 +11,10 @@ def change_password(request):
if form.is_valid():
new_password = form.cleaned_data['new_password']
+ # Get user name and additional info from headers
+
# Magic for actually changing the password happens here
- return_value = subprocess.check_call(['echo', new_password])
+ return_value = subprocess.call(['echo', new_password])
return render_to_response('changepw/change_password.html',
{'return_value': return_value},
context_instance=RequestContext(request))