mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-05 14:09:57 +08:00
feat: fix record's password regex bug (#3421)
This commit is contained in:
@ -33,7 +33,7 @@ var (
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
logPostOnly = conf.GetConfigBool("logPostOnly")
|
logPostOnly = conf.GetConfigBool("logPostOnly")
|
||||||
passwordRegex = regexp.MustCompile("\"password\":\".+\"")
|
passwordRegex = regexp.MustCompile("\"password\":\"([^\"]*?)\"")
|
||||||
}
|
}
|
||||||
|
|
||||||
type Record struct {
|
type Record struct {
|
||||||
|
Reference in New Issue
Block a user