Modify redirect rule #1417
This commit is contained in:
parent
847ffa31b1
commit
3afe82fe30
|
@ -254,7 +254,7 @@ sub _displayRegister {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( @am == 1 ) {
|
if ( @am == 1 and not $req->userData->{_2fDevices} ) {
|
||||||
return [ 302, [ Location => $self->conf->{portal} . $am[0]->{URL} ],
|
return [ 302, [ Location => $self->conf->{portal} . $am[0]->{URL} ],
|
||||||
[] ];
|
[] ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user