Skip to content

Commit

Permalink
cli.user.user_login_cmd: remove debug print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
JOJ0 committed Jun 17, 2021
1 parent 5db8d86 commit 33c8202
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions synadm/cli/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,18 +445,11 @@ def user_login_cmd(helper, user_id, expire_days, expire, expire_ts,
admin user calls /logout/all from any of their devices, but the token will
not expire if the target user does the same.
"""
print(expire_days)
print(expire)
print(expire_ts)
print(expire_never)
if expire_never:
print("never exp branch")
user_login = helper.api.user_login(user_id, None, None, None)
elif not expire_days and not expire and not expire_ts:
print("first elif branch")
user_login = helper.api.user_login(user_id, 1, expire, expire_ts)
else:
print("else branch")
user_login = helper.api.user_login(user_id, expire_days, expire,
expire_ts)

Expand Down

0 comments on commit 33c8202

Please sign in to comment.