419 – Session time out error while trying to logout from front end applilcation

  • Asif Ba
    Participant
      # 3 weeks, 1 day ago

      Hello,
      I have installed Multicrm with SaaS application as the front end. For login and logout I am using the functions from Multicrm.

      When I try to logout from the home page, I am getting error 419. I am able to logout from backend. The calls to ‘logout’ are identical.

    • Asif Ba
      Participant
        # 3 weeks, 1 day ago

        Support team gave me the following link to solve the problem.

        https://laracasts.com/discuss/channels/general-discussion/tokenmismatchexception-with-logout

        Doing this, fixed the problem.
        class VerifyCsrfToken extends BaseVerifier
        {
        /**
        * The URIs that should be excluded from CSRF verification.
        *
        * @var array
        */
        protected $except = [
        ‘/logout’
        ];
        }

      You must be logged in to reply to this topic.