edituser.cgi: add trailing "\n" to keys form field data
commit4dfb531b7a64fee8cb88400797e5959ec42096e5
authorKyle J. McKay <mackyle@gmail.com>
Sat, 14 Mar 2015 22:15:57 +0000 (14 15:15 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 14 Mar 2015 22:15:57 +0000 (14 15:15 -0700)
tree6d8db506bb61cc9ddb13bb73a4983fbb53328a9b
parenta193ab5938ed4a99ef83f632feb99c2ac024fd00
edituser.cgi: add trailing "\n" to keys form field data

It's much easier to add a new key when clicking in the box of
keys below the last key sets the cursor to the first blank line
after the existing keys.

We make that happen by appending "\n" to the keys list data we
stuff into the form field.  Technically this creates a blank
line in the field at the end, but we trim blank lines before
saving so it ends up providing a better user experience.
cgi/edituser.cgi