kthcloud / console

kthcloud web console
https://cloud.cbh.kth.se
MIT License
3 stars 4 forks source link

Show last character of ssh public key #331

Closed Phillezi closed 1 month ago

Phillezi commented 1 month ago

I noticed that the ssh public keys that were being shown were missing their last character, this was due to the substring() method on strings in js using the end index parameter as up to but not including. So i removed the -1 from the length so the last char is visible too.