Call Driver.CheckPasswd if present instead of ServerOpts.Auth.CheckPasswd - Fixes #117 #119

Merged
lunny merged 1 commits from ncw/goftp-server:fix-117-check-passwd into master 2020-06-30 05:13:55 +00:00
Contributor

This allows Drivers to keep track of the Authed user which wasn't
possible before.

This is a backwards compatible change as it adds an optional interface
to the Driver interface which will be called if present and ignored
otherwise.

This allows Drivers to keep track of the Authed user which wasn't possible before. This is a backwards compatible change as it adds an optional interface to the Driver interface which will be called if present and ignored otherwise.
ncw added 1 commit 2020-06-29 09:56:57 +00:00
Call Driver.CheckPasswd if present instead of ServerOpts.Auth.CheckPasswd - Fixes #117
This allows Drivers to keep track of the Authed user which wasn't
possible before.

This is a backwards compatible change as it adds an optional interface
to the Driver interface which will be called if present and ignored
otherwise.
Some checks failed
continuous-integration/drone/pr Build is failing
9f7fdda90c
lunny approved these changes 2020-06-30 05:12:24 +00:00
Dismissed
lunny added the
enhancement
label 2020-06-30 05:13:02 +00:00
lunny merged commit d7b4474175 into master 2020-06-30 05:13:45 +00:00
lunny added this to the 0.4 milestone 2020-07-07 16:04:20 +00:00
ncw deleted branch fix-117-check-passwd 2023-02-24 15:48:49 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: goftp/server#119
No description provided.