我在本地添加了 live 站点的 sql 文件,但登录按钮重定向了,如何在 ubuntu 本地登录

Hello,

I am unable to login on my machine on ubuntu. I have setup discourse and add import sql file of live site but now login button is redirecting to live site please help me to do login as admin on local machine

Best,
krishna

Run you local development environment with DISCOURSE_DEV_ALLOW_ANON_TO_IMPERSONATE=1 bin/ember-cli -u and then visit http://localhost:4200/session/system/become on your browser.

2 个赞

@Falco It’s not working…its stopped working ember - cli. Can you please help me to login to my admin account on local development. when i am accessing this url → http://localhost:4200/admin it gave me like " No route matches [GET] “/admin” .

Please help i need to do admin login on local development

Thank you so much @Falco DISCOURSE_DEV_ALLOW_ANON_TO_IMPERSONATE=1 bin/ember-cli -u this code helps me out… Really appreciated. It’s just like i have stop the rail server and then run this command then started to working.

1 个赞