diff options
Diffstat (limited to 'src/account/views.py')
-rw-r--r-- | src/account/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/account/views.py b/src/account/views.py index a975a2e..a392349 100644 --- a/src/account/views.py +++ b/src/account/views.py @@ -48,7 +48,8 @@ def account_settings_view(request): context = { "preference_form": AccountPreferencesForm(instance=profile), "company_form": SetCompanyForm(initial={'company': ipa_user['ou']}), - "existing_keys": ipa_user['ipasshpubkey'] if 'ipasshpubkey' in ipa_user else [] + "existing_keys": ipa_user['ipasshpubkey'] if 'ipasshpubkey' in ipa_user else [], + "ipa_username": profile.ipa_username } return render(request, template, context) |