Commit 82299131 authored by Xavier Guimard's avatar Xavier Guimard

Typo

parent d7ff6407
......@@ -77,7 +77,7 @@ sub init {
}
# Enable REST request only if more than 1 2F module is enabled
if ( $#{ $self->{sfModules} } ) {
if ( @{ $self->{sfModules} } > 1 ) {
$self->addUnauthRoute( '2fchoice' => 'choice', ['POST'] );
$self->addUnauthRoute( '2fchoice' => 'redirect', ['GET'] );
}
......
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