Skip to content

Commit fc4bc08

Browse files
author
Chris Gilmer
committed
Fix error where baseprofile is empty
1 parent 0390fca commit fc4bc08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/setup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ func (sc *SetupConfig) CreateVirtualMFADevice() error {
283283
// https://docs.aws.amazon.com/sdk-for-go/api/service/iam/#VirtualMFADevice
284284
content := fmt.Sprintf("otpauth://totp/%s@%s?secret=%s",
285285
*mfaDeviceInput.VirtualMFADeviceName,
286-
sc.BaseProfile.Name,
286+
sc.BaseProfileName,
287287
mfaDeviceOutput.VirtualMFADevice.Base32StringSeed,
288288
)
289289

0 commit comments

Comments
 (0)