You are here

function tokenauth_exit in Token authentication 5

Same name and namespace in other branches
  1. 6.2 tokenauth.module \tokenauth_exit()
  2. 6 tokenauth.module \tokenauth_exit()
  3. 7 tokenauth.module \tokenauth_exit()

Deliberately insure that this session will not be saved by sess_write(). safety

File

./tokenauth.module, line 248

Code

function tokenauth_exit() {
  if ($_SESSION['tokenauth_auth']) {
    session_destroy();
  }
}