Add SSH-provisioned TOTP login with JWT sessions
This commit is contained in:
@@ -10,3 +10,8 @@ if [ ! -f /etc/prompt.env ]; then
|
||||
mv "$TEMP_ENV" /etc/prompt.env
|
||||
trap - EXIT
|
||||
fi
|
||||
|
||||
# Current public entry uses HTTP. Operators can set true here after enabling HTTPS.
|
||||
if ! grep -q '^AUTH_COOKIE_SECURE=' /etc/prompt.env; then
|
||||
printf '\nAUTH_COOKIE_SECURE=false\n' >> /etc/prompt.env
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user