I've just installed Magento and tried to log into it as an admin. However, the Two-Factor Authentication message showed up:
After a bit of looking up, I decided to disable the Two-Factor Authentication by setting
'Magento_TwoFactorAuth' => 0
in xampp/htdocs/magento2/app/etc/config.php and then run 'php bin/magento s:up' command.
After that, I tried to access my site and this was what I got:
What had gone wrong and how should I fix it?