mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-01 18:40:18 +08:00
feat: remove "@" from name's forbidden chars
This commit is contained in:
@ -23,7 +23,7 @@ import (
|
|||||||
"github.com/beego/beego/context"
|
"github.com/beego/beego/context"
|
||||||
)
|
)
|
||||||
|
|
||||||
var forbiddenChars = `/?:@#&%=+;`
|
var forbiddenChars = `/?:#&%=+;`
|
||||||
|
|
||||||
func FieldValidationFilter(ctx *context.Context) {
|
func FieldValidationFilter(ctx *context.Context) {
|
||||||
if ctx.Input.Method() != "POST" {
|
if ctx.Input.Method() != "POST" {
|
||||||
|
Reference in New Issue
Block a user