跳至内容
菜单
此问题已终结
2 回复
5085 查看

Normally, after clicking on a database in /web/database/selector we are redirected to /web/login

Like this:

--> https://url/web?db=my_bd

--> http://url/web/login

--> https://url/web/login


But in my case, I am stuck with the same url:

--> https://url/web?db=my_bd

--> http://url/web?db=my_bd

--> https://url/web?db=my_bd


Can anyone help?

形象
丢弃
最佳答案

You should ensure that each domain only points to one database. In this case the database selector page is not called.

形象
丢弃
编写者

I have tried to use db_name but unfortunately it doesn't work

最佳答案

Hi Samuel,

Basically the redirection occurs from the main addons files. To be precise the web module in the main addons.

So the issue with not redirecting to the login url will be the issue with your web module.
Try replacing it with the latest code from the git and try again.

Good day.

形象
丢弃
编写者

Thank you Cybrosys for your reply, but it doesn't seem to be a web module issue as I use the same code in another environment and it works.

相关帖文 回复 查看 活动
1
5月 25
4585
1
10月 22
5171
0
4月 22
1864
4
7月 24
14025
1
8月 22
2427