Boss81 Hello! How can I do it so that I, as an admin, cannot be excluded from the site by accident, say after a possible attack. If I remember correctly, I have to edit one of the files, but I don't remember which one and how. Could you help me with this?
GreXXL Boss81 Keeping the admin account safe is essential for any software and system. With elevated privileges, you can always turn things for the worse. If the password hasn't been compromised, this extension will protect sensitive areas: https://discuss.flarum.org/d/32006-sudo-mode. You can also improve the overall security of admin accounts using two-factor authentication: https://discuss.flarum.org/d/33339-2fa-two-factor-authentication-with-totp/. Besides all those measures, you should ensure a good backup strategy in place in case anything ever happens.
Boss81 GreXXL Thanks for the info, I've already uploaded the extensions. And I'll set up the backups right away. Because of the exclusion, nothing needs to be rewritten in the config.php file?
protonek Boss81 nothing needs to be rewritten in the config.php file? No. Just install and configure your extension.