diff options
author | Johan Lundberg <lundberg@nordu.net> | 2011-01-26 13:43:37 +0100 |
---|---|---|
committer | Johan Lundberg <lundberg@nordu.net> | 2011-01-26 13:43:37 +0100 |
commit | d8b4329d8f323d174662f4983f781e43b6c60593 (patch) | |
tree | 0cca23cd3d3aed94bd00af67af96ca5cb6e315ec /views.py | |
parent | 0d9f0270b46146b9701a21dfc344ff91d0dba603 (diff) |
Added password strenght indicator js and css.
Diffstat (limited to 'views.py')
-rw-r--r-- | views.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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)) |