diff options
author | zeripath <art27@cantab.net> | 2019-10-13 15:35:19 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-10-13 17:35:19 +0300 |
commit | 300d9a1c709a0addde7c77efa7153f66ff6748d8 (patch) | |
tree | e96b487205290c4cb2daa6c7d2326bcb9064d34c /models/userlist.go | |
parent | f2a3abc683ad4b2177b7c7c6160a2c0b4316120a (diff) | |
download | gitea-300d9a1c709a0addde7c77efa7153f66ff6748d8.tar.gz gitea-300d9a1c709a0addde7c77efa7153f66ff6748d8.zip |
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
Diffstat (limited to 'models/userlist.go')
0 files changed, 0 insertions, 0 deletions