From ecadb07367d31c0929212618e120130f54af78da Mon Sep 17 00:00:00 2001 From: Justin Choquette Date: Tue, 8 Aug 2023 11:33:57 -0400 Subject: MVP Change-Id: Ib590302f49e7e66f8d04841fb6cb97baf623f51a Signed-off-by: Justin Choquette --- src/account/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/account/views.py') 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) -- cgit 1.2.3-korg