# Cannot login to ghost admin. "There was a problem on the server." message appears

**URL:** <https://forum.ghost.org/t/cannot-login-to-ghost-admin-there-was-a-problem-on-the-server-message-appears/57094>\
**Category:** Developer help\
**Created:** [April 25, 2025, 9:01am UTC](https://forum.ghost.org/t/cannot-login-to-ghost-admin-there-was-a-problem-on-the-server-message-appears/57094 "2025-04-25T09:01:39Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [April 28, 2025, 1:09am UTC](https://forum.ghost.org/t/cannot-login-to-ghost-admin-there-was-a-problem-on-the-server-message-appears/57094/8 "2025-04-28T01:09:54Z")

</div>

From version 5.118, you need to have transactional email set up so that you can deliver a verification code for admin. It doesn’t have to be mailgun, but you do need /something/ set up for transactional email, which is done in config.production.json.

This thread has links to the relevant docs:

> [@Can't login to admin dashboard on more than one device](https://forum.ghost.org/t/cant-login-to-admin-dashboard-on-more-than-one-device/57135/3):
>
> There are two new features: Device Verification (on by default) protects your sites from logins on new devices and Email 2FA, which you can additionally enable in settings - this enforces codes for every login. Ghost lacks a lot of features without SMTP mail configured, including inviting staff, password resets, email notifications and more, as well as this new security feature. There’s definitely some rough edges for us to iron out around making it easier to check and get SMTP configured - we…

---

_[View the full topic](https://forum.ghost.org/t/cannot-login-to-ghost-admin-there-was-a-problem-on-the-server-message-appears/57094)._
