// SetLoginCheck sets a function that will be called before user auth.
SetLoginCheck sets a function that will be called before user auth.
// SetLoginCheck sets a function that will be called before user auth .
func SetLoginCheck(c LoginCheck) setter { 
	return func(h *Handler) {
		h.ext.loginCheck = c
	}
}
func SetLoginCheck ( c LoginCheck ) setter { return func ( h * Handler ) { h . ext . loginCheck = c } }
SetLoginCheck sets a function that will be called before user auth.
SetLoginCheck sets a function that will be called before user auth .
//nolint:golint // setter must remain private