Skip to content

Commit

Permalink
Merge pull request #14 from mmrwoods/feature/echo-token-input
Browse files Browse the repository at this point in the history
Don't hide token code input, there's no need
  • Loading branch information
dcoker authored Jun 15, 2020
2 parents fa83a74 + 47b5bfd commit 4d3565c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awsmfa/__main__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# coding=utf-8
from __future__ import print_function
from builtins import input

import argparse
import datetime
import getpass
import os
import sys

Expand Down Expand Up @@ -168,7 +168,7 @@ def acquire_code(args, session, session3):
token_code = args.token_code
if token_code is None:
while token_code is None or len(token_code) != 6:
token_code = getpass.getpass("MFA Token Code: ")
token_code = input("MFA Token Code: ")
return serial_number, token_code, OK


Expand Down

0 comments on commit 4d3565c

Please sign in to comment.