# Migrated to Self Hosted - none of the existing users can login int

**URL:** <https://forum.ghost.org/t/migrated-to-self-hosted-none-of-the-existing-users-can-login-int/28440>\
**Category:** Self-hosting\
**Created:** [February 9, 2022, 11:31pm UTC](https://forum.ghost.org/t/migrated-to-self-hosted-none-of-the-existing-users-can-login-int/28440 "2022-02-09T23:31:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhwalnum](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jhwalnum/32/16432_2.png) [@jhwalnum](https://forum.ghost.org/u/jhwalnum)\
**Post date:** [February 9, 2022, 11:31pm UTC](https://forum.ghost.org/t/migrated-to-self-hosted-none-of-the-existing-users-can-login-int/28440/1 "2022-02-09T23:31:22Z")

</div>

I have a new self hosted server up and running. I’ve imported everything and I see all the users came over, but none of them can login now and they can’t seem to reset their passwords either.

Any thoughts?

Thx in advance, Jim

---

<div class="post-metadata">

**Author:** ![aabulkhairov](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/aabulkhairov/32/5292_2.png) [@aabulkhairov](https://forum.ghost.org/u/aabulkhairov)\
**Post date:** [July 13, 2024, 9:03pm UTC](https://forum.ghost.org/t/migrated-to-self-hosted-none-of-the-existing-users-can-login-int/28440/2 "2024-07-13T21:03:03Z")

</div>

2 years have passed since your question but I’ve just encountered exactly the problem.

In my case I made sure config.production.json included correct SMTP Mailgun server details.

In my case I copied settings with SMTP mode from past deployment. But i noticed for some reason

```auto
"transport": "Direct",

```

was instead of:

```auto
"transport": "SMTP",

```

So i fixed to SMTP and everything works, migrated users can login now
