summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/text/secure/precis/profiles.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-11-13 09:09:58 -0800
committerGitHub <noreply@github.com>2017-11-13 09:09:58 -0800
commit1329aa51b605cb54ba9aae3a82a0a87b881fb7b3 (patch)
tree93cbf354ab894a560fc2cef8ef685d681b4ff889 /vendor/golang.org/x/text/secure/precis/profiles.go
parent7304a61ef597970be3031b14e652fb3a4df44304 (diff)
downloadchat-1329aa51b605cb54ba9aae3a82a0a87b881fb7b3.tar.gz
chat-1329aa51b605cb54ba9aae3a82a0a87b881fb7b3.tar.bz2
chat-1329aa51b605cb54ba9aae3a82a0a87b881fb7b3.zip
Updating server dependancies. (#7816)
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,
}