diff --git a/README.md b/README.md
index 91fa78a..83e52e2 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
# node-red-contrib-httpauth
-Node-RED node for HTTP Basic/Digest Auth
+Node-RED node for HTTP Basic Auth.
-This Node-RED module performs Basic and Digest authentication.
-It is to be used in conjunction with an http input node.
+This Node-RED module performs HTTP Basic authentication.
+It is to be used in conjunction with an HTTP Input node.
![flow.png](images/flow.png)
@@ -19,11 +19,8 @@ There are three type of configuration:
With all three config types you must specify the following:
- - Auth Type: what authentication type will be used: Basic, Digest
- Realm: what realm will be used with this node
- Hashed: are the passwords in the Password field or in the credentials file hashed.
- This field is only relavent if Auth Type is Digest. It has no effect on Basic.
- Hash format: MD5(Username:Realm:Password)
With Shared and Not Shared config types you must specify the following:
diff --git a/nodes/http-auth-cred.html b/nodes/http-auth-cred.html
index 6092a34..0192626 100644
--- a/nodes/http-auth-cred.html
+++ b/nodes/http-auth-cred.html
@@ -4,13 +4,14 @@
category: 'config',
defaults: {
name: { value: '' },
- authType: { value: 'Basic', required: true },
realm: { value: '', required: true },
username: { value: '', required: true },
password: { value: '', required: true },
hashed: { value: false, required: true },
},
- label: function () { return this.name.trim() || '[' + this.authType + '] ' + this.realm.trim() + ':' + this.username.trim() + ':*****'; },
+ label: function () {
+ return this.name.trim() || this.realm.trim() + ':' + this.username.trim() + ':*****';
+ },
});
@@ -19,13 +20,6 @@
-