Commit 931965c
committed
Prevent panic in serv.go with Deploy Keys
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 <art27@cantab.net>1 parent 649e1d0 commit 931965c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| |||
0 commit comments