Commit 045f609c authored by Xavier Guimard's avatar Xavier Guimard

Replace old shared variables

parent 8e957020
......@@ -104,7 +104,7 @@ sub run {
unless $class->_isAlive();
# Value to store
my $value = $datas->{$secureTokenAttribute};
my $value = $class->datas->{$secureTokenAttribute};
# Set token
my $key = $class->_setToken( $value, $secureTokenExpiration );
......@@ -235,7 +235,7 @@ sub _returnError {
}
# Redirect or Forbidden?
if ( $tsv->{useRedirectOnError} ) {
if ( $class->tsv->{useRedirectOnError} ) {
$class->lmLog( "Use redirect for error", 'debug' );
return $class->goToPortal( '/', 'lmError=500' );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment