diff options
Diffstat (limited to 'extensions/Persona/Extension.pm')
-rw-r--r-- | extensions/Persona/Extension.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extensions/Persona/Extension.pm b/extensions/Persona/Extension.pm index f288702e8..2c8e46add 100644 --- a/extensions/Persona/Extension.pm +++ b/extensions/Persona/Extension.pm @@ -64,6 +64,15 @@ sub config_modify_panels { } } +sub attachment_should_redirect_login { + my ($self, $args) = @_; + my $cgi = Bugzilla->cgi; + + if ($cgi->param("persona_assertion")) { + ${$args->{do_redirect}} = 1; + } +} + sub config_add_panels { my ($self, $args) = @_; my $modules = $args->{panel_modules}; |