File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -532,8 +532,9 @@ slot of CLIENT and restore the AUTH slot on failure."
532
532
&optional passwd)
533
533
" Authenticate CLIENT by asking for a password.
534
534
If PASSWD is provided it must be a function that takes zero
535
- arguments. It will be called before each authentication attempt.
536
- If CLIENT could not be authenticated raise an error."
535
+ arguments and returns a password, it defaults to a call to
536
+ `read-passwd' . It will be called before each authentication
537
+ attempt. If CLIENT could not be authenticated raise an error."
537
538
(or (functionp passwd)
538
539
(setq passwd (lambda () (read-passwd (format " Password [%s ]: "
539
540
(oref client url))))))
Original file line number Diff line number Diff line change @@ -312,10 +312,9 @@ fails."
312
312
(jupyter-api-authenticate client
313
313
'password
314
314
(let ((remote (file-remote-p filename)))
315
- (lambda (try )
315
+ (lambda ()
316
316
(jupyter-tramp-read-passwd
317
- filename (unless (zerop try)
318
- (format " Password for %s " remote))))))))))))))
317
+ filename (format " Password [%s ]: " remote)))))))))))))
319
318
320
319
; ;; Getting information about file models
321
320
You can’t perform that action at this time.
0 commit comments