]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
we don't need \ at EOL
authorAlan T. DeKok <aland@freeradius.org>
Thu, 30 Jun 2022 11:46:11 +0000 (07:46 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 2 Jul 2022 15:18:55 +0000 (11:18 -0400)
this should arguably be an error

raddb/policy.d/cui

index b26821e9eb36dcccbf3eb759148f1776f0980ef6..4cfbc68ea2df9b1d05f95ff5cccee09d75908001 100644 (file)
@@ -54,7 +54,7 @@ cui.authorize {
 #  use_tunneled_reply parameter MUST be set to yes
 #
 cui.post-auth {
-       if (!&control.Proxy-To-Realm && &Chargeable-User-Identity && !&reply.Chargeable-User-Identity && \
+       if (!&control.Proxy-To-Realm && &Chargeable-User-Identity && !&reply.Chargeable-User-Identity &&
            (&Operator-Name || ('${policy.cui_require_operator_name}' != 'yes')) ) {
                update reply {
                        &Chargeable-User-Identity = "%{sha1:${policy.cui_hash_key}%{tolower:%{User-Name}%{%{Operator-Name}:-}}}"