diff --git a/lisp/ghub.el b/lisp/ghub.el index 4451526..d98949d 100644 --- a/lisp/ghub.el +++ b/lisp/ghub.el @@ -775,7 +775,7 @@ and call `auth-source-forget+'." (let* ((user (ghub--ident username package)) (token (or (car (ghub--auth-source-get (list :secret) - :host host :user user)) + :host (url-host (url-generic-parse-url (concat "//" host))) :user user)) (progn ;; Auth-Source caches the information that there is no ;; value, but in our case that is a situation that needs