luci-app-sshtunnel: generate a new key
authorSergey Ponomarev <stokito@gmail.com>
Sun, 17 Dec 2023 10:55:29 +0000 (12:55 +0200)
committerPaul Donald <itsascambutmailmeanyway@gmail.com>
Wed, 27 Dec 2023 20:24:25 +0000 (20:24 +0000)
commit3933633dd0de84b1c13af5d8f62b6b2431bf1ca7
treefcccd9edbc480442441d03f69d1ed60b422385f6
parentb8638323c4fd2d5eb47550f78e581295e345dacc
luci-app-sshtunnel: generate a new key

Make the Generate a new key as a separate section and move to bottom.
Extend the key name pattern to be an email address so allow symbols @ - +.
Force the id_ prefix for key names.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_keys.js