Hi
i am using Odoo 12 an i need to check if user is logged in or not in website side ( not web side )
is there a way to do this?
Hi
i am using Odoo 12 an i need to check if user is logged in or not in website side ( not web side )
is there a way to do this?
Hi,
If you are inside the controller, you can check like this:
if request.session.uid:
Thanks
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
1
6月 26
|
155 | |||
|
3
6月 26
|
869 | |||
|
4
4月 26
|
2427 | |||
|
0
4月 26
|
1917 | |||
|
0
2月 26
|
2333 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.