Skip to content

Commit

Permalink
youtrack: Use get_password
Browse files Browse the repository at this point in the history
  • Loading branch information
ryneeverett committed Jul 21, 2023
1 parent 5b12efb commit f08def8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bugwarrior/services/youtrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def __init__(self, *args, **kw):
requests.packages.urllib3.disable_warnings()
self.session.verify = False

token = self.config.token
token = self.get_password('token', self.config.login)
self.session.headers['Authorization'] = f'Bearer {token}'

@staticmethod
Expand Down

0 comments on commit f08def8

Please sign in to comment.