Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
edulix committed Nov 12, 2023
1 parent 6b0bd01 commit a8be983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions avRegistration/login-directive/login-directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ angular.module('avRegistration')
{
if (
!auth_event.auth_method_config ||
!auth_event.auth_method_config.config ||
!auth_event.auth_method_config.config.provider_ids
) {
return [];
Expand Down
2 changes: 1 addition & 1 deletion dist/appCommon-v10.0.2.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ angular.module("avRegistration").config(function() {}), angular.module("avRegist
}, scope.apply = function(authevent) {
var auth_event;
scope.hasOtpFieldsCode = Authmethod.hasOtpCodeField(authevent), scope.method = authevent.auth_method,
scope.oidc_providers = authevent.oidc_providers, scope.current_oidc_providers = (auth_event = authevent).auth_method_config && auth_event.auth_method_config.config.provider_ids ? _.map(auth_event.auth_method_config.config.provider_ids, function(provider_id) {
scope.oidc_providers = authevent.oidc_providers, scope.current_oidc_providers = (auth_event = authevent).auth_method_config && auth_event.auth_method_config.config && auth_event.auth_method_config.config.provider_ids ? _.map(auth_event.auth_method_config.config.provider_ids, function(provider_id) {
return _.find(auth_event.oidc_providers, function(provider) {
return provider.public_info.id === provider_id;
});
Expand Down

0 comments on commit a8be983

Please sign in to comment.