1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Manually check is user is valid (crsf token + time + user id)

Discussion in 'XenForo Development Discussions' started by allewreK, Dec 22, 2013.

  1. allewreK

    allewreK Active Member


    How can I manually check that the user doing something is allowed to do that ? (I don't understand how does XenForo check if user id + request time + crsf token are valid).

  2. allewreK

    allewreK Active Member

    Any ideas ?

    In fact, I would like to do that because I'm using pure javascript server side so the methods like "getUserId" or "isModerator" are not available.

Share This Page