Commit e4b69766 authored by Christophe Maudoux's avatar Christophe Maudoux

Fix mistake

parent 1bdad607
Pipeline #2668 passed with stages
in 6 minutes and 13 seconds
......@@ -104,7 +104,7 @@ sub init {
# Enable REST request only if more than 1 2F module is enabled
if ( @{ $self->{sfModules} } > 1 ) {
$self->addUnauthRoute( '2fchoice' => '_choice', ['POST'] );
$self->addUnauthRoute( '2fchoice' => 'redirect', ['GET'] );
$self->addUnauthRoute( '2fchoice' => '_redirect', ['GET'] );
}
# Enable 2F registration URL only if at least 1 registration module
......
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