Home
last modified time | relevance | path

Searched refs:sticky (Results 1 – 2 of 2) sorted by relevance

/dokuwiki/inc/
H A Dauth.php207 * @param bool $sticky Cookie should not expire
211 function auth_login($user, $pass, $sticky = false, $silent = false) { argument
220 $sticky ? $sticky = true : $sticky = false; //sanity check
230 auth_setCookie($user, auth_encrypt($pass, $secret), $sticky);
243 list($user, $sticky, $pass) = auth_getCookie();
267 return auth_login($user, $pass, $sticky, true);
1004 list( /*user*/, $sticky, /*pass*/) = auth_getCookie();
1246 function auth_setCookie($user, $pass, $sticky) { argument
1258 $time = $sticky ? (time() + 60 * 60 * 24 * 365) : 0; //one year
1281 $sticky = (bool) $sticky;
[all …]
/dokuwiki/inc/Extension/
H A DAuthPlugin.php193 * @param bool $sticky Cookie should not expire
197 public function trustExternal($user, $pass, $sticky = false) argument