summaryrefslogtreecommitdiffstats
path: root/Bugzilla/MFA
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/MFA')
-rw-r--r--Bugzilla/MFA/Dummy.pm5
-rw-r--r--Bugzilla/MFA/Duo.pm6
-rw-r--r--Bugzilla/MFA/TOTP.pm6
3 files changed, 14 insertions, 3 deletions
diff --git a/Bugzilla/MFA/Dummy.pm b/Bugzilla/MFA/Dummy.pm
index d91f7ae42..03fbe76b5 100644
--- a/Bugzilla/MFA/Dummy.pm
+++ b/Bugzilla/MFA/Dummy.pm
@@ -6,8 +6,11 @@
# defined by the Mozilla Public License, v. 2.0.
package Bugzilla::MFA::Dummy;
+
+use 5.10.1;
use strict;
-use parent 'Bugzilla::MFA';
+use warnings;
+use base 'Bugzilla::MFA';
# if a user is configured to use a disabled or invalid mfa provider, we return
# this dummy provider.
diff --git a/Bugzilla/MFA/Duo.pm b/Bugzilla/MFA/Duo.pm
index 91096689f..19590944b 100644
--- a/Bugzilla/MFA/Duo.pm
+++ b/Bugzilla/MFA/Duo.pm
@@ -6,8 +6,12 @@
# defined by the Mozilla Public License, v. 2.0.
package Bugzilla::MFA::Duo;
+
+use 5.10.1;
use strict;
-use parent 'Bugzilla::MFA';
+use warnings;
+
+use base 'Bugzilla::MFA';
use Bugzilla::DuoAPI;
use Bugzilla::DuoWeb;
diff --git a/Bugzilla/MFA/TOTP.pm b/Bugzilla/MFA/TOTP.pm
index 36791da15..843569ce7 100644
--- a/Bugzilla/MFA/TOTP.pm
+++ b/Bugzilla/MFA/TOTP.pm
@@ -6,8 +6,12 @@
# defined by the Mozilla Public License, v. 2.0.
package Bugzilla::MFA::TOTP;
+
+use 5.10.1;
use strict;
-use parent 'Bugzilla::MFA';
+use warnings;
+
+use base 'Bugzilla::MFA';
use Auth::GoogleAuth;
use Bugzilla::Error;