3a3782bb7f
* 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 |
||
---|---|---|
.. | ||
migrations | ||
access.go | ||
action.go | ||
admin.go | ||
error.go | ||
git_diff.go | ||
git_diff_test.go | ||
issue.go | ||
issue_comment.go | ||
issue_label.go | ||
issue_mail.go | ||
login_source.go | ||
mail.go | ||
models.go | ||
models_sqlite.go | ||
models_test.go | ||
models_tidb.go | ||
org.go | ||
org_team.go | ||
pull.go | ||
release.go | ||
repo.go | ||
repo_branch.go | ||
repo_collaboration.go | ||
repo_editor.go | ||
repo_mirror.go | ||
repo_test.go | ||
ssh_key.go | ||
ssh_key_test.go | ||
token.go | ||
update.go | ||
user.go | ||
user_mail.go | ||
webhook.go | ||
webhook_slack.go | ||
wiki.go |