runtipi/scripts/reset-password.sh
2023-02-23 08:23:58 +01:00

12 lines
249 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
source "${BASH_SOURCE%/*}/common.sh"
ensure_pwd
ROOT_FOLDER="$(pwd)"
STATE_FOLDER="${ROOT_FOLDER}/state"
# Create file request-password-change in state folder
touch "${STATE_FOLDER}/password-change-request"