Skip to content

Commit

Permalink
Fix error where baseprofile is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Gilmer committed Jul 10, 2020
1 parent 0390fca commit fc4bc08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func (sc *SetupConfig) CreateVirtualMFADevice() error {
// https://docs.aws.amazon.com/sdk-for-go/api/service/iam/#VirtualMFADevice
content := fmt.Sprintf("otpauth://totp/%s@%s?secret=%s",
*mfaDeviceInput.VirtualMFADeviceName,
sc.BaseProfile.Name,
sc.BaseProfileName,
mfaDeviceOutput.VirtualMFADevice.Base32StringSeed,
)

Expand Down

0 comments on commit fc4bc08

Please sign in to comment.