Skip to Content
Menú
This question has been flagged
2 Respostes
4663 Vistes

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
Descartar
Best Answer

Hi,

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

if request.session.uid:

Thanks

Avatar
Descartar
Autor Best Answer

Yes That was it.

Thank You <3

Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
de set. 25
2145
3
d’oct. 25
149265
1
de set. 25
1304
4
de set. 25
6041
2
d’ag. 25
1320