예제 #1
0
파일: user.go 프로젝트: joao-parana/csfw
func (u *User) Authenticate(cr config.Getter, h crypto.Hasher, username, password string) error {
	isCaseSensitive := cr.Bool(config.Path("admin/security/use_case_sensitive_login"))

	if !isCaseSensitive {
		// ... hmm
	}

	return nil
}