Skip to content

Commit

Permalink
Merge pull request #164 from johanherman/new-factor-challenge
Browse files Browse the repository at this point in the history
UPPMAX has changed the 2f challenge
  • Loading branch information
sylvinite authored Nov 24, 2016
2 parents c69d714 + 1a8c14a commit 2ea97de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
# then expect a bash prompt
# Step 3b. Expect a bash prompt immediately if our token
# grace period is enabled.
exp_token = "Please enter your second factor:.\r\n"
exp_token = "Please enter the current code from your second factor:.\r\n"
exp_success = ".*\$ " # Matches the end of a bash prompt

recv = child.expect([exp_token, exp_success])
Expand Down

0 comments on commit 2ea97de

Please sign in to comment.