Skip to content

Commit 47a405b

Browse files
committed
Maintenance: Fix login
Ensure example.rb reflects the code changes. Adjust wording (2nd factor requires a secret which is not reflected by the comments). With this change the order of username and password is technically irrelevant.
1 parent f2ff96c commit 47a405b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
# use_xml.
2222
# output everything you're sending and receiving in JSON pretty print
2323
show_debug(true).
24-
# optional 3rd parameter available: shared_secret for 2 factor auth
25-
login(user, pass)
24+
# optional parameter: shared_secret for 2 factor auth (Base32 secret key)
25+
login(username: user, password: pass)
2626

2727
object = 'domain'
2828
method = 'check'

0 commit comments

Comments
 (0)