projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d06dc1
)
comment out the mixed case
author
Alan Buxey
<alan.buxey@gmail.com>
Sat, 17 May 2014 12:08:58 +0000
(13:08 +0100)
committer
Alan Buxey
<alan.buxey@gmail.com>
Sat, 17 May 2014 12:08:58 +0000
(13:08 +0100)
same patch as in HEAD and MASTER - stops policies that should help sites from causing issues.
raddb/policy.conf
patch
|
blob
|
history
diff --git
a/raddb/policy.conf
b/raddb/policy.conf
index
2668b29
..
e8a8575
100644
(file)
--- a/
raddb/policy.conf
+++ b/
raddb/policy.conf
@@
-70,13
+70,14
@@
policy {
# what constitutes a user name.
#
filter_username {
+
#
# reject mixed case
# e.g. "UseRNaMe"
#
- if (User-Name != "%{tolower:%{User-Name}}") {
-
reject
- }
+
#
if (User-Name != "%{tolower:%{User-Name}}") {
+
#
reject
+
#
}
#
# reject all whitespace