diff options
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)) |
