I’m currently encountering a challenge with accessing FC. It appears that there have been changes to my two-factor authentication setup, which has resulted in my inability to log in using either my admin or user accounts. Is there a procedure to adjust the SMTP settings without having to access the admin portal? Thanks in advance!
Hi
Kindly know that the password reset through the FileCloud Control Panel will reset any password setup on the admin account. Then you can login into Admin Portal using the default login details:
User: admin
Password: password
You can then reset the password through Admin Portal as follows
admin portal > settings > admin > reset admin password > reset master admin password box will open > update the new password > save the changes
It is also important to update the Admin Email address to a active and valid email address
You can also enable the Show Forgot Password from the Admin Portal > Customization > General section > Select the Login sub tab then check the Show Forgot Password option > Save the changes.
So next time when you forget your password you can directly choose forgot password option in the login screen and then reset the password
This would be a reset via the FC Control Panel or command line
Good morning, and I appreciate your prompt response. 
We have successfully managed the passwords, but we’ve encountered an issue with the 2FA email delivery not functioning as expected. Consequently, we find ourselves effectively locked out of our accounts.
Is there a possibility to review and make adjustments to the SMTP settings so that I can receive the 2FA code as intended?
Thank you for your assistance.
Please add the below flag in the file cloudconfig.php and check whether the issue persists
Open the configuration file cloudconfig.php which will under the following path
Windows Drive letter:\xampp\htdocs\config\cloudconfig.php
Linux /var/www/html/config/cloudconfig.php
define(“TONIDOCLOUD_SMTP_OMIT_CERT_VERIFY”, 1);
add the above line and save the changes and then give a try again
Please reproduce the error again with server logs in debug mode and provide us the logs and complete smtp settings screenshots
To enable debug mode, open the Admin Portal, go to Settings->Log Level, and set it to “DEV”
Then please replicate the issue and send us the logs
Please download the logs in FileCloud Admin Portal → SYSTEM → Checks → Generate Logs
Manual log collection
You can find the FileCloud logs from here
Windows: drive letter:\xampp\htdocs\scratch\logs\log_YYYY-MM-DD.txt
Linux: /var/www/scratch/logs/log_YYYY-MM-DD.txt (in Ubuntu 14.04 and later
/var/www/html/scratch/logs/log_YYYY_MM_DD.txt)
Kindly upload it here FileCloud
How do I access the admin portal when I’m blocked by email 2 factor? Can I modify the SMTP setting outside the admin portal?
Hi
Let us know the OS that you are using?
Have you tried checking the password reset option that has been suggested in the first response which should reset 2 FA setup that has been configured then you can login into your admin portal