Skip to content

Commit

Permalink
Duplicate code for no reason
Browse files Browse the repository at this point in the history
  • Loading branch information
elg committed Nov 4, 2019
1 parent 14a2e40 commit 7372ec3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions passhport/passhport
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ def checkandconnect(indexed_target_list, choice, username, originalcmd,
"""Check if the user have entered an accessible target
then check target type and launch the action"""

#In order to allow an automatic login name for each user:
login = re.split("@", username)[0] #We take the first part of the email


# Check the target access and access type
potential_target = False
target_found = False
Expand Down

0 comments on commit 7372ec3

Please sign in to comment.