diff options
Diffstat (limited to 'tests/auth.cgi')
-rwxr-xr-x | tests/auth.cgi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auth.cgi b/tests/auth.cgi new file mode 100755 index 0000000..3f4be25 --- /dev/null +++ b/tests/auth.cgi @@ -0,0 +1,10 @@ +#!/bin/bash + +echo "Content-Type: text/plain" +echo "Pragma: no-cache" +echo +if [ -n "$REMOTE_USER" ] ; then + echo "User $REMOTE_USER." +else + echo "Not authenticated." +fi |