sogo.auth_request.template.sh 244 B

123456
  1. if printf "%s\n" "${ALLOW_ADMIN_EMAIL_LOGIN}" | grep -E '^([yY][eE][sS]|[yY])+$' >/dev/null; then
  2. echo 'auth_request /sogo-auth-verify;
  3. auth_request_set $user $upstream_http_x_username;
  4. proxy_set_header x-webobjects-remote-user $user;
  5. '
  6. fi