1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

Setting defaults with credentials fields persists them in the flows file. Fixed.

This commit is contained in:
Wolfgang Nagele 2013-12-21 18:44:50 +01:00
parent 17a040adfe
commit 243fc9ffd4

View File

@ -80,10 +80,6 @@
<script type="text/javascript"> <script type="text/javascript">
RED.nodes.registerType("awscredentials", { RED.nodes.registerType("awscredentials", {
category: "config", category: "config",
defaults: {
accessKey: { value: "", required: true },
secretAccessKey: { value: "", required: true }
},
label: function() { label: function() {
return this.accessKey; return this.accessKey;
}, },