- Make it clear that manually generating a Device ID is bad behavior
- Make DeviceID no longer required for matrix-server-config
This commit is contained in:
parent
2fcd463eb6
commit
4d1ec9e65c
@ -29,7 +29,7 @@
|
|||||||
userId: { type: "text", required: true },
|
userId: { type: "text", required: true },
|
||||||
deviceLabel: { type: "text", required: false },
|
deviceLabel: { type: "text", required: false },
|
||||||
accessToken: { type: "password", required: true },
|
accessToken: { type: "password", required: true },
|
||||||
deviceId: { type: "text", required: true },
|
deviceId: { type: "text", required: false },
|
||||||
url: { type: "text", required: true }
|
url: { type: "text", required: true }
|
||||||
},
|
},
|
||||||
defaults: {
|
defaults: {
|
||||||
@ -91,8 +91,8 @@
|
|||||||
<input type="text" id="node-config-input-deviceId">
|
<input type="text" id="node-config-input-deviceId">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips" style="margin-bottom: 12px;">
|
<div class="form-tips" style="margin-bottom: 12px;">
|
||||||
If you have a Device ID for this auth token you can place it here, or you can leave it blank to have one automatically generated (this field will always be blank if auto generated as it is saved internally).<br />
|
If you have a Device ID for this auth token you can place it here, or you can leave it blank to have one automatically generated (this field will always be blank if auto generated as it is saved internally). DO NOT manually set one, this must be generated by the server.<br />
|
||||||
WARNING: If you change this after the client has already initialized you will break encryption.
|
WARNING: If you change this after the client has already initialized you will break encryption. Your Device ID is tied to your encryption keys.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
@ -346,7 +346,7 @@ module.exports = function(RED) {
|
|||||||
deviceLabel: { type: "text", required: false },
|
deviceLabel: { type: "text", required: false },
|
||||||
userId: { type: "text", required: true },
|
userId: { type: "text", required: true },
|
||||||
accessToken: { type: "text", required: true },
|
accessToken: { type: "text", required: true },
|
||||||
deviceId: { type: "text", required: true },
|
deviceId: { type: "text", required: false },
|
||||||
url: { type: "text", required: true }
|
url: { type: "text", required: true }
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user