Skip to Content
Menu
This question has been flagged
2 Replies
4427 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
1
rugs. 25
256
5
rugp. 25
4842
2
rugp. 25
1516
2
rugp. 25
746
5
rugp. 25
10210