fix
parent
067c1fe229
commit
a969c53acb
@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Use the environment variable for the password
|
|
||||||
echo -n "Enter password to access container: "
|
|
||||||
read -s input_password
|
|
||||||
echo ""
|
|
||||||
if [ "$input_password" != "$PASSWORD" ]; then
|
|
||||||
echo "Access denied!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
echo "Access granted!"
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Run the authentication check first
|
|
||||||
/app/auth.sh
|
|
||||||
|
|
||||||
# If authentication passes, run the application
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
make run
|
|
||||||
fi
|
|
||||||
Loading…
Reference in New Issue