authorize {
preprocess
redundant {
sql1
sql2
notfound = return
}
files
}
Setting Actions for a Subsection
The actions may also be over-ridden for a subsection:
This configuration has a redundant block that over-rides the
normal behavior. If both sql1 and sql2 gave the return code
notfound, the redundant block would normally also return notfound.
However, by setting the handling of notfound to return, the parent
authorize section will see the notfound = return code from the
redundant block and will stop processing the authorize section.
The above configuration therefore prevents the files module from
being called if both of the sql modules fail to find the user.