Skip to Content
Menu
This question has been flagged
2 Replies
4651 Zobrazenia

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?


Avatar
Zrušiť
Best Answer

Hi,

If you are inside the controller, you can check like this:

if request.session.uid:

Thanks

Avatar
Zrušiť
Autor Best Answer

Yes That was it.

Thank You <3

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
sep 25
2137
3
okt 25
149265
1
sep 25
1293
4
sep 25
6009
2
aug 25
1314