Home
last modified time | relevance | path

Searched refs:token (Results 1 – 9 of 9) sorted by path

/dokuwiki/inc/Action/
H A DResendpwd.php78 $token = preg_replace('/[^a-f0-9]+/', '', $INPUT->str('pwauth'));
80 if ($token) {
83 $tfile = $conf['cachedir'] .'/'. $token[0] .'/'. $token . '.pwauth';
157 $token = md5(auth_randombytes(16)); // random secret
158 $tfile = $conf['cachedir'] .'/'. $token[0] .'/'. $token .'.pwauth';
159 $url = wl('', array('do' => 'resendpwd', 'pwauth' => $token), true, '&');
/dokuwiki/inc/Ui/
H A DUserResendPwd.php27 $token = preg_replace('/[^a-f0-9]+/', '', $INPUT->str('pwauth'));
33 if (!$conf['autopasswd'] && $token) {
34 $form = $this->formSetNewPassword($token);
50 protected function formSetNewPassword($token) argument
58 $form->setHiddenField('token', $token);
/dokuwiki/inc/
H A Dauth.php1090 $token = preg_replace('/[^a-f0-9]+/', '', $INPUT->str('pwauth'));
1092 if($token) {
1095 $tfile = $conf['cachedir'].'/'.$token[0].'/'.$token.'.pwauth';
1169 $token = md5(auth_randombytes(16)); // random secret
1170 $tfile = $conf['cachedir'].'/'.$token[0].'/'.$token.'.pwauth';
1171 $url = wl('', array('do'=> 'resendpwd', 'pwauth'=> $token), true, '&');
H A Dcommon.php106 * @param null|string $token security token or null to read it from request variable
109 function checkSecurityToken($token = null) { argument
114 if(is_null($token)) $token = $INPUT->str('sectok');
115 if(getSecurityToken() != $token) {
H A Dfulltext.php78 switch (substr($token, 0, 3)) {
719 if ($token === '(') {
772 foreach ($tokens as $token) {
773 if ($token === 'NOT(') {
775 } elseif ($token === '(') {
777 } elseif ($token === ')') {
781 $token = preg_replace('/([WPN])\+\:/u', '$1-:', $token);
783 $parsed_query_new .= $token;
800 foreach ($tokens as $token) {
808 if ($token == ')') {
[all …]
H A Dinfoutils.php522 if(preg_match('/(notify|pass|auth|secret|ftp|userinfo|token|buid|mail|proxy)/i',$key)){
H A Dmedia.php1974 $token = $id;
1975 if ($w) $token .= '.'.$w;
1976 if ($h) $token .= '.'.$h;
1978 return substr(\dokuwiki\PassHash::hmac('md5', $token, auth_cookiesalt()),0,6);
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php4694 foreach ($tokens as $token => $sub_tokens) {
4695 $list .= $token;
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php3856 foreach ($look as $token) {
3857 $pos = strpos($text, $token);
3859 if (!isset($min) || $pos < $min[1]) $min = array($token, $pos);