Confirm deletion of certificate
This commit is contained in:
parent
047ca9979a
commit
68a0c17459
|
@ -515,7 +515,15 @@ function delete_letsencrypt {
|
|||
return
|
||||
fi
|
||||
|
||||
${PROJECT_NAME}-addcert -r $delete_domain
|
||||
dialog --title $"Delete a Let's Encrypt certificate" \
|
||||
--backtitle $"Freedombone Security Settings" \
|
||||
--defaultno \
|
||||
--yesno $"\nConfirm deletion of the TLS certificate for $delete_domain ?" 7 60
|
||||
sel=$?
|
||||
case $sel in
|
||||
0) ${PROJECT_NAME}-addcert -r $delete_domain;;
|
||||
255) exit 0;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue