Skip to Content
Menu
This question has been flagged
2 Replies
4358 Rodiniai

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?


Portretas
Atmesti
Best Answer

Hi,

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

if request.session.uid:

Thanks

Portretas
Atmesti
Autorius Best Answer

Yes That was it.

Thank You <3

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
5
rugp. 25
9865
2
liep. 25
990
4
birž. 25
1116
1
birž. 25
1440
1
geg. 25
1351