Verifying that user is correctly logged in

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Leo
    Member
    • Jul 2016
    • 31

    Verifying that user is correctly logged in

    Hi,

    I added a new tab to my EspoCRM interface which open a new window with some content coded with PHP.

    Before displaying anything from the new page, I would like to check if the viewer is someone who is connected
    to a EspoCRM session (to avoid strangers see the page from the url) or something else that allows to check if
    the viewer is a registered user.

    How can I do it ?

    Thanks
    Last edited by Leo; 07-29-2016, 10:33 AM. Reason: comprehension
  • yuri
    Member
    • Mar 2014
    • 8485

    #2
    Hi,

    You can utilize auth_token table for this purpose.

    Administration > Auth Tokens already shows some useful information.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...