summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/text/secure/precis/profiles.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/text/secure/precis/profiles.go')
-rw-r--r--vendor/golang.org/x/text/secure/precis/profiles.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/vendor/golang.org/x/text/secure/precis/profiles.go b/vendor/golang.org/x/text/secure/precis/profiles.go
index 86010025c..061936d98 100644
--- a/vendor/golang.org/x/text/secure/precis/profiles.go
+++ b/vendor/golang.org/x/text/secure/precis/profiles.go
@@ -13,18 +13,17 @@ import (
)
var (
- // Implements the Nickname profile specified in RFC 7700.
- // The nickname profile is not idempotent and may need to be applied multiple
- // times before being used for comparisons.
+ // Implements the Nickname profile specified in RFC 8266.
Nickname *Profile = nickname
- // Implements the UsernameCaseMapped profile specified in RFC 7613.
+ // Implements the UsernameCaseMapped profile specified in RFC 8265.
UsernameCaseMapped *Profile = usernameCaseMap
- // Implements the UsernameCasePreserved profile specified in RFC 7613.
+ // Implements the UsernameCasePreserved profile specified in RFC 8265.
UsernameCasePreserved *Profile = usernameNoCaseMap
- // Implements the OpaqueString profile defined in RFC 7613 for passwords and other secure labels.
+ // Implements the OpaqueString profile defined in RFC 8265 for passwords and
+ // other secure labels.
OpaqueString *Profile = opaquestring
)
@@ -37,6 +36,7 @@ var (
IgnoreCase,
Norm(norm.NFKC),
DisallowEmpty,
+ repeat,
),
class: freeform,
}