# Adicionei o arquivo sql do site ativo localmente, mas o botão de login redireciona, como fazer login localmente no Ubuntu

**URL:** https://meta.discourse.org/t/i-have-add-sql-file-of-live-site-on-local-but-login-button-redirecting-how-to-login-on-locally-on-ubuntu/240884
**Category:** Development
**Created:** [Outubro 4, 2022, 1:31pm UTC](https://meta.discourse.org/t/i-have-add-sql-file-of-live-site-on-local-but-login-button-redirecting-how-to-login-on-locally-on-ubuntu/240884 "2022-10-04T13:31:03Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [Outubro 4, 2022, 1:33pm UTC](https://meta.discourse.org/t/i-have-add-sql-file-of-live-site-on-local-but-login-button-redirecting-how-to-login-on-locally-on-ubuntu/240884/2 "2022-10-04T13:33:18Z")

</div>

Execute seu ambiente de desenvolvimento local com `DISCOURSE_DEV_ALLOW_ANON_TO_IMPERSONATE=1 bin/ember-cli -u` e, em seguida, visite `http://localhost:4200/session/system/become` em seu navegador.

---

_[View the full topic](https://meta.discourse.org/t/i-have-add-sql-file-of-live-site-on-local-but-login-button-redirecting-how-to-login-on-locally-on-ubuntu/240884)._
