loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix CanCreateRepo check (#15311)

Signed-off-by: jolheiser <john.olheiser@gmail.com>

authored by

John Olheiser and committed by
GitHub
426ebbfc 75dfc46d

+3
+3
routers/repo/repo.go
··· 193 193 ctx.Data["Licenses"] = models.Licenses 194 194 ctx.Data["Readmes"] = models.Readmes 195 195 196 + ctx.Data["CanCreateRepo"] = ctx.User.CanCreateRepo() 197 + ctx.Data["MaxCreationLimit"] = ctx.User.MaxCreationLimit() 198 + 196 199 ctxUser := checkContextUser(ctx, form.UID) 197 200 if ctx.Written() { 198 201 return