mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Fixed a few instances where api settings would go not setup
This commit is contained in:
@@ -212,6 +212,7 @@ def service_reset(request, serviceid=0):
|
||||
passwd = form.cleaned_data['password']
|
||||
|
||||
api = acc.service.api_class
|
||||
api.settings = acc.service.settings
|
||||
if not api.reset_password(acc.service_uid, passwd):
|
||||
error = True
|
||||
return render_to_response('sso/serviceaccount/resetcomplete.html', locals(), context_instance=RequestContext(request))
|
||||
|
||||
Reference in New Issue
Block a user