1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-06 06:18:12 +00:00
Files
gitea/models/ssh_key.go
zeripath 300d9a1c70 Fixes #8369: Create .ssh dir as necessary (#8486)
* Ensure .ssh dir exists before rewriting public keys

* Ensure .ssh dir exists before appending to authorized_keys

* Log the error because it would be useful to know where it is trying to MkdirAll

* Only try to create RootPath if it's not empty
2019-10-13 17:35:19 +03:00

27 KiB