diff options
author | Russ Allbery <eagle@eyrie.org> | 2014-07-16 15:51:13 -0700 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2014-07-16 16:25:37 -0700 |
commit | 66dd4a9093be4562d2c7a7a7d253d2afb034aef8 (patch) | |
tree | c2f6ddcd707113099a71cd394a2a1e68de5f7bb3 /perl/lib | |
parent | f8963ceb19cd2b503b981f43a3f8c0f45649989f (diff) |
Include the Duo type in the name of Duo integrations
Eventually, there will be multiple object types for different Duo
integrations, and they will need to have unique names. Add the
Duo type in parentheses after the name to help ensure this.
Change-Id: I679130f9136077fc6bf5d8c6c9ad98ec83b400d0
Reviewed-on: https://gerrit.stanford.edu/1573
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Diffstat (limited to 'perl/lib')
-rw-r--r-- | perl/lib/Wallet/Object/Duo.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Wallet/Object/Duo.pm b/perl/lib/Wallet/Object/Duo.pm index e3fe2da..fcf3819 100644 --- a/perl/lib/Wallet/Object/Duo.pm +++ b/perl/lib/Wallet/Object/Duo.pm @@ -105,7 +105,7 @@ sub create { # Create the object in Duo. require Net::Duo::Admin::Integration; my %data = ( - name => $name, + name => "$name ($Wallet::Config::DUO_TYPE)", notes => 'Managed by wallet', type => $Wallet::Config::DUO_TYPE, ); |