allow multiple environment variables
|Reported by:||andrex||Owned by:||alexandrul|
It would be nice if the plugin allowed the user to specify multiple environment variables for each key, and took the value from the first one that's populated. For example:
email_var = AUTHENTICATE_FORWARDEMAILADDRESS AUTHENTICATE_MAIL
Then the value of AUTHENTICATE_FORWARDEMAILADDRESS would be used if the value was non-empty, otherwise the value of AUTHENTICATE_MAIL would be used.
While this example may seem artificial, believe it or not it's exactly the case in our environment. When one variable is set, its value should be used in preference to the other.
For that reason I wrote a patch that does this. The patch is attached.