From 406188c6ea6a5262577436c2570f99724c4f6af3 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Mon, 27 Jun 2016 13:54:19 -0700 Subject: [PATCH] Reset network credential on selection change The "authorize" checkbox would remain checked whenever the credential type was changed, however it should be reset on each type change --- awx/ui/client/src/helpers/Credentials.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/ui/client/src/helpers/Credentials.js b/awx/ui/client/src/helpers/Credentials.js index 6babce9284..bd0551b206 100644 --- a/awx/ui/client/src/helpers/Credentials.js +++ b/awx/ui/client/src/helpers/Credentials.js @@ -181,6 +181,8 @@ angular.module('CredentialsHelper', ['Utilities']) scope.ssh_key_unlock_confirm = null; scope.become_username = null; scope.become_password = null; + scope.authorize = false; + scope.authorize_password = null; } // Collapse or open help widget based on whether scm value is selected