mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2026-05-25 23:59:15 +00:00
spk
This commit is contained in:
@@ -26,15 +26,28 @@
|
||||
}
|
||||
}
|
||||
}]
|
||||
},{
|
||||
"type": "textfield",
|
||||
"desc": "Registered email, check http://rustdesk.com/server for more information",
|
||||
"subitems": [{
|
||||
"key": "email",
|
||||
"desc": "Email",
|
||||
"validator": {
|
||||
"allowBlank": false,
|
||||
"regex": {
|
||||
"expr": "/^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$/",
|
||||
"errorText": "Invalid email format"
|
||||
}
|
||||
}
|
||||
}]
|
||||
},{
|
||||
"type": "textfield",
|
||||
"desc": "Only allow the client with the same key",
|
||||
"subitems": [{
|
||||
"key": "key",
|
||||
"desc": "Key",
|
||||
"defaultValue": "21117",
|
||||
"validator": {
|
||||
"allowBlank": True,
|
||||
"allowBlank": true
|
||||
}
|
||||
}]
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user