Hi @mrclayton
Thanks to your indication I made some changes to the custom code and now it works.
Thank you very much!
@ryanhungate perfect! now it works fine. Thank you!
I think it refers to the fact that if a customer logs in with the maintenance mode active, he can still access the site.
Is there a way to let admins only log in?