We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efdf931 commit abb0141Copy full SHA for abb0141
lib/pause_2017/PAUSE/Web/Context.pm
@@ -43,12 +43,12 @@ sub version {
43
44
sub authenticator_for {
45
my ($self, $user) = @_;
46
- my $cpan_alias = lc($user->{userid}) . '@cpan.org';
47
- my $secret32 = $user->{mfa_secret32};
+ my $userid = lc($user->{userid});
+ my $secret32 = $user->{mfa_secret32};
48
return Auth::GoogleAuth->new({
49
secret32 => $secret32,
50
issuer => $PAUSE::Config->{MFA_ISSUER} || 'PAUSE',
51
- key_id => $cpan_alias,
+ key_id => $userid,
52
});
53
}
54
0 commit comments