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

use stdin to provide authentication token to authenticator rather than command line option

This commit is contained in:
Falk Werner
2023-02-04 15:48:17 +01:00
parent 1cbdfac3cc
commit 6f1841e610
5 changed files with 45 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/bash
AUTH_TOKEN="$1"
read AUTH_TOKEN
if [[ "$AUTH_TOKEN" == "simple_token" ]]
then