Skip to content

Commit

Permalink
Update pkg/sessionctx/variable/sysvar.go
Browse files Browse the repository at this point in the history
Co-authored-by: bb7133 <[email protected]>
  • Loading branch information
tiancaiamao and bb7133 authored Oct 17, 2023
1 parent b154eb5 commit b309706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sessionctx/variable/sysvar.go
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@ var defaultSysVars = []*SysVar{
// On tidbcloud dedicated cluster with the default configuration, if an user modify
// @@global.require_secure_transport=on, he can not login the cluster anymore!
// A workaround for this is making require_secure_transport read-only for that case.
// SEM(secure enhanced mode) is enabled by default with only that settings.
// SEM(security enhanced mode) is enabled by default with only that settings.
cfg := config.GetGlobalConfig()
if cfg.Security.EnableSEM {
return "", errors.New("require_secure_transport can not be set to ON with SEM(security enhanced mode) enabled")
Expand Down

0 comments on commit b309706

Please sign in to comment.