5
0
mirror of https://github.com/cwinfo/hyperboria-peers.git synced 2024-12-25 06:05:41 +00:00

make peerName required in js

This commit is contained in:
ansuz 2017-12-22 08:37:10 +01:00
parent 20b2c044ba
commit c49d352f99

View File

@ -37,7 +37,7 @@ if (credsWithDns.length) {
* contact
*/
var requiredFields = ['password', 'publicKey', 'contact'];
var requiredFields = ['password', 'publicKey', 'contact', 'peerName'];
var recommendedFields = ['gpg', 'peerName'];
var insufficientFields = Peers.filter(function (x, p) {