1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 02:04:27 +00:00
stroucki 3a3782bb7f Handle ssh key import better (#224)
* Handle user ssh key input better

ssh_key: when user submitted keys had a newline at the end, strings.Split
would have created a slice with an empty last element, and the key type
check would be incorrect. Perhaps a better way is to look for 'ssh-rsa' or
'ssh-dsa' at the beginning of the string, but this is simple.

* ssh_key: correct indentation
2016-11-24 08:52:55 +08:00
..
2016-11-11 17:39:44 +08:00
2016-11-12 09:29:18 +01:00
2016-11-07 17:24:59 +01:00
2016-11-11 13:11:45 +01:00
2016-11-12 13:06:33 +01:00
2014-04-13 03:14:43 -04:00
2016-08-12 02:56:50 -07:00
2016-11-10 20:59:51 +01:00
2016-11-12 01:31:37 +08:00
2016-11-11 13:11:45 +01:00
2016-11-10 20:59:51 +01:00
2016-11-15 14:16:27 +08:00
2016-11-24 08:52:55 +08:00
2016-11-16 22:51:54 -05:00