Skip to content

Commit

Permalink
Merge pull request ahungry#258 from nickgarber/pr-auth-port
Browse files Browse the repository at this point in the history
feat(auth): includes alt. representations of port in lookup
  • Loading branch information
ahungry committed Jul 27, 2021
2 parents 2ea0094 + 7524f98 commit e3aea7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jiralib.el
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ After a successful login, store the authentication token in
(url-host (url-generic-parse-url jiralib-url))
jiralib-host)
;; secrets.el wouldn’t accept a number.
:port (number-to-string (url-port (url-generic-parse-url jiralib-url)))
:port (list (number-to-string (url-port (url-generic-parse-url jiralib-url)))
(url-port (url-generic-parse-url jiralib-url))
(url-type (url-generic-parse-url jiralib-url)))
:require '(:user :secret)
:create t)))
user secret)
Expand Down

0 comments on commit e3aea7f

Please sign in to comment.