Skip to content

Commit 0844360

Browse files
committed
feat(serverHandler/responseData): add field RestrictAccess
1 parent fc550af commit 0844360

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/serverHandler/responseData.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ type responseData struct {
3333
AuthUserName string
3434
AuthSuccess bool
3535

36-
AllowAccess bool
36+
RestrictAccess bool
37+
AllowAccess bool
3738

3839
Headers [][2]string
3940

@@ -426,7 +427,8 @@ func (h *aliasHandler) getResponseData(r *http.Request) (data *responseData, fsP
426427
AuthUserName: authUserName,
427428
AuthSuccess: authSuccess,
428429

429-
AllowAccess: allowAccess,
430+
RestrictAccess: h.restrictAccess,
431+
AllowAccess: allowAccess,
430432

431433
Headers: headers,
432434

0 commit comments

Comments
 (0)