diff options
Diffstat (limited to 'Bugzilla/Auth.pm')
-rw-r--r-- | Bugzilla/Auth.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm index 782953878..e6127d32a 100644 --- a/Bugzilla/Auth.pm +++ b/Bugzilla/Auth.pm @@ -134,6 +134,12 @@ sub user_can_create_account { && $getter->user_can_create_account; } +sub extern_id_used { + my ($self) = @_; + return $self->{_info_getter}->extern_id_used + || $self->{_verifier}->extern_id_used; +} + sub can_change_email { return $_[0]->user_can_create_account; } @@ -397,6 +403,10 @@ Params: None Returns: C<true> if users are allowed to create new Bugzilla accounts, C<false> otherwise. +=item C<extern_id_used> + +Description: Whether or not current login system uses extern_id. + =item C<can_change_email> Description: Whether or not the current login system allows users to |