summaryrefslogtreecommitdiffstats
path: root/tests/auth.cgi
blob: 3f4be256dfa1400b4b4ae87376cbae0946d1682b (plain)
1
2
3
4
5
6
7
8
9
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