Commit fcfe5a6
committed
Prevent panic in serv.go with Deploy Keys (go-gitea#17434)
Backport go-gitea#17434
Unfortunately there was a regression in go-gitea#17373 which missed that the user is not
for deploy keys. This leads to a panic when pushing with deploy keys.
Fix go-gitea#17412
Signed-off-by: Andrew Thornton <[email protected]>1 parent 06da10b commit fcfe5a6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
0 commit comments