summaryrefslogtreecommitdiff
path: root/views.py
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2011-01-26 13:43:37 +0100
committerJohan Lundberg <lundberg@nordu.net>2011-01-26 13:43:37 +0100
commitd8b4329d8f323d174662f4983f781e43b6c60593 (patch)
tree0cca23cd3d3aed94bd00af67af96ca5cb6e315ec /views.py
parent0d9f0270b46146b9701a21dfc344ff91d0dba603 (diff)
Added password strenght indicator js and css.
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))