fix: Set 'Secure' attribute to true for sensitive cookies #75
Annotations
9 errors and 10 warnings
app/api/handler/account/cookie.go#L1
: # github.com/harness/gitness/app/api/handler/account [github.com/harness/gitness/app/api/handler/account.test]
|
app/api/handler/account/login.go#L47
not enough arguments in call to includeTokenCookie
|
app/api/handler/account/logout.go#L37
not enough arguments in call to deleteTokenCookieIfPresent
|
app/api/handler/account/register.go#L53
not enough arguments in call to includeTokenCookie
|
app/router/api.go#L39
could not import github.com/harness/gitness/app/api/handler/account (-: # github.com/harness/gitness/app/api/handler/account
|
app/api/handler/account/login.go#L47
not enough arguments in call to includeTokenCookie
|
app/api/handler/account/logout.go#L37
not enough arguments in call to deleteTokenCookieIfPresent
|
app/api/handler/account/register.go#L53
not enough arguments in call to includeTokenCookie
|
|
web/src/components/DiffViewer/DiffViewer.tsx#L377
React Hook useCallback has missing dependencies: 'confirmAct', 'getString', and 'onCommentUpdate'. Either include them or remove the dependency array. If 'onCommentUpdate' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
web/src/components/MarkdownEditorWithPreview/MarkdownEditorWithPreview.tsx#L237
React Hook useEffect has an unnecessary dependency: 'scrollToAndSetCursorToEnd'. Either exclude it or remove the dependency array. Outer scope values like 'scrollToAndSetCursorToEnd' aren't valid dependencies because mutating them doesn't re-render the component
|
web/src/components/MultiList/MultiList.tsx#L28
Unexpected any. Specify a different type
|
web/src/components/MultiList/MultiList.tsx#L60
React Hook useEffect has missing dependencies: 'cleanupField', 'formik', and 'name'. Either include them or remove the dependency array
|
web/src/components/MultiList/MultiList.tsx#L64
React Hook useCallback has missing dependencies: 'formik' and 'name'. Either include them or remove the dependency array
|
web/src/components/MultiList/MultiList.tsx#L84
React Hook useCallback has a missing dependency: 'getFieldName'. Either include it or remove the dependency array
|
web/src/components/MultiList/MultiList.tsx#L99
React Hook useCallback has a missing dependency: 'formik'. Either include it or remove the dependency array
|
web/src/components/MultiList/MultiList.tsx#L112
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
web/src/components/MultiList/MultiList.tsx#L139
React Hook useCallback has missing dependencies: 'debouncedAddItemToList', 'handleRemoveRowFromList', and 'readOnly'. Either include them or remove the dependency array
|
web/src/components/MultiList/MultiList.tsx#L147
React Hook useCallback has a missing dependency: 'renderRow'. Either include it or remove the dependency array
|
The logs for this run have expired and are no longer available.
Loading