Skip to content

Instantly share code, notes, and snippets.

@edwardchan
Created November 7, 2017 19:58
Show Gist options
  • Save edwardchan/d3447d60e5f942570065da413ff53943 to your computer and use it in GitHub Desktop.
Save edwardchan/d3447d60e5f942570065da413ff53943 to your computer and use it in GitHub Desktop.
diff --git a/src/Form/EloquaRestApiAdminSettings.php b/src/Form/EloquaRestApiAdminSettings.php
index 9b79416..1256071 100644
--- a/src/Form/EloquaRestApiAdminSettings.php
+++ b/src/Form/EloquaRestApiAdminSettings.php
@@ -67,7 +67,7 @@ class EloquaRestApiAdminSettings extends ConfigFormBase {
];
$form['eloqua_rest_api_login_password'] = [
- '#type' => 'textfield',
+ '#type' => 'password',
'#title' => $this->t('Login password'),
'#default_value' => $config->get('eloqua_rest_api_login_password'),
'#description' => $this->t('The password associated with the user above; used to verify access to the API.'),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment