mirror of
https://github.com/Oreolek/ticketauth.git
synced 2024-05-16 16:08:24 +03:00
don't check ticket expiry
This commit is contained in:
parent
62e45d2dea
commit
2658ad857e
|
@ -87,11 +87,13 @@ function efTktAuth_OnUserLoadFromSession ( $user, &$result )
|
||||||
die( $error );
|
die( $error );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if ( $timestamp + ((int) $GLOBALS['wgTktAuth_TicketExpiryMinutes']) * 60 < time() ) {
|
if ( $timestamp + ((int) $GLOBALS['wgTktAuth_TicketExpiryMinutes']) * 60 < time() ) {
|
||||||
$error = 'TicketAuth: Provided ticket has expired. ';
|
$error = 'TicketAuth: Provided ticket has expired. ';
|
||||||
wfDebug( $error . "\n" );
|
wfDebug( $error . "\n" );
|
||||||
die( $error . 'Please, refresh the web page that has generated this link and retry.' );
|
die( $error . 'Please, refresh the web page that has generated this link and retry.' );
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if ( $password != '' && !preg_match( '/^[0-9a-f]{32}$/i', $password ) ) {
|
if ( $password != '' && !preg_match( '/^[0-9a-f]{32}$/i', $password ) ) {
|
||||||
$error = 'TicketAuth: Invalid password MD5 hash was provided.';
|
$error = 'TicketAuth: Invalid password MD5 hash was provided.';
|
||||||
|
|
Loading…
Reference in a new issue