File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
lib/Dancer2/Plugin/Auth/Extensible/Provider Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use Moo;
11
11
with " Dancer2::Plugin::Auth::Extensible::Role::Provider" ;
12
12
use namespace::clean;
13
13
14
- our $VERSION = ' 0.622 ' ;
14
+ our $VERSION = ' 0.623 ' ;
15
15
16
16
=head1 NAME
17
17
@@ -522,6 +522,9 @@ sub _build_user_roles_relationship {
522
522
523
523
foreach my $relname ( $result_source -> relationships ) {
524
524
my $info = $result_source -> relationship_info($relname );
525
+ # just check for a simple equality join condition. It could be other
526
+ # things (e.g. code ref) but for now this is unsupported.
527
+ next unless ref $info -> {cond } eq ' HASH' ;
525
528
my %cond = %{ $info -> {cond } };
526
529
if ( $info -> {class } eq $user_roles_class
527
530
&& $info -> {attrs }-> {accessor } eq ' multi'
You can’t perform that action at this time.
0 commit comments