Update tinyauth
This commit is contained in:
parent
713de5df2b
commit
0e71918613
@ -38,7 +38,7 @@ msg_ok "Installed Tinyauth"
|
|||||||
|
|
||||||
i=1
|
i=1
|
||||||
while [ $i -le 3 ]; do
|
while [ $i -le 3 ]; do
|
||||||
read -p "${TAB3}Enter your Tinyauth subdomain (e.g. https://tinyauth.example.com): " app_url
|
read -rp "${TAB3}Enter your Tinyauth subdomain (e.g. https://tinyauth.example.com): " app_url
|
||||||
echo "$app_url" | grep -qE '^https?://[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}' && break
|
echo "$app_url" | grep -qE '^https?://[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}' && break
|
||||||
[ $i -eq 3 ] && {
|
[ $i -eq 3 ] && {
|
||||||
echo "Max attempts reached"
|
echo "Max attempts reached"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user