1
0
mirror of https://github.com/falk-werner/webfuse synced 2026-03-02 03:40:24 +00:00

refine directory structure

This commit is contained in:
Falk Werner
2023-01-27 17:55:58 +01:00
parent 7d4f3a1d86
commit 6214748495
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/bash
AUTH_TOKEN="$1"
if [[ "$AUTH_TOKEN" == "user:bob;token=foo" ]]
then
echo "$(date): webfuse: auth granted: $AUTH_TOKEN" >> /tmp/webfuse_auth.log
else
echo "$(date): webfuse: auth denied: $AUTH_TOKEN" >> /tmp/webfuse_auth.log
exit 1
fi