case-fold username in servlet when needed
svn: r17591
This commit is contained in:
parent
58e6d2426a
commit
b33455dc8e
|
@ -230,6 +230,8 @@
|
||||||
[user (aget bindings 'user)]
|
[user (aget bindings 'user)]
|
||||||
[passwd (aget bindings 'passwd)]
|
[passwd (aget bindings 'passwd)]
|
||||||
[user (and user (clean-str user))]
|
[user (and user (clean-str user))]
|
||||||
|
[user (and user (if (get-conf 'username-case-sensitive)
|
||||||
|
user (string-foldcase user)))]
|
||||||
[user-data (get-user-data user)])
|
[user-data (get-user-data user)])
|
||||||
(cond [(and user-data
|
(cond [(and user-data
|
||||||
(string? passwd)
|
(string? passwd)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user