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
This commit is contained in:
Jared Tabor
2016-06-27 13:54:19 -07:00
parent 4f534122c5
commit 406188c6ea

View File

@@ -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