Skip to content

Commit

Permalink
recognize are now compatible with suspicious login
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
  • Loading branch information
enoch85 authored Jan 17, 2025
1 parent b98a75b commit 42eb263
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions apps/recognize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,6 @@ fi
# Compatible with NC26 and above
lowest_compatible_nc 26

# Check if suspicious_login are installed
# https://github.com/nextcloud/recognize/issues/676
if is_app_enabled suspicious_login
then
msg_box "Since you have the app Suspicious Login Detection installed, you can't install Recognize. The reason is that it will cause issues with cron.php.\nIf you choose 'No' the installer will exit"
if yesno_box_no "Do you want to disable Suspicious Login to be able to install Recognize?"
then
nextcloud_occ app:disable suspicious_login
if ! [ -f /etc/fail2ban/filter.d/nextcloud.conf ] || ! is_this_installed fail2ban
then
if yesno_box_yes "Do you want to install Fail2ban (IP blocking in Linux) instead?"
then
run_script APP fail2ban
fi
fi
else
exit
fi
fi

# Check if face-recognition is installed and ask to remove it
if is_app_installed facerecognition
then
Expand Down

0 comments on commit 42eb263

Please sign in to comment.