[GODRIVER-1002] Credential.PasswordSet doesn't work or is incorrectly documented Created: 26/Apr/19 Updated: 28/Oct/23 Resolved: 12/Dec/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Documentation |
| Affects Version/s: | 1.0.1 |
| Fix Version/s: | 1.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Golden | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Improve GoDoc |
| Description |
|
I can provide username and password credentials and log in with SCRAM whether the PasswordSet field of options.Credential is true or false. This seems contrary to its documentation. |
| Comments |
| Comment by Githook User [ 12/Dec/19 ] |
|
Author: {'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}Message: |
| Comment by Divjot Arora (Inactive) [ 11/Dec/19 ] |
| Comment by Ian Whalen (Inactive) [ 29/Apr/19 ] |
|
need to deprecate this field. |
| Comment by David Golden [ 26/Apr/19 ] |
|
FWIW, I tried creating a user with an empty password on 4.0 and the database refused: [js] Error: couldn't add user: User passwords must not be empty Maybe the field should be deprecated? Or is it necessary for SSPI if an empty password is allowed there? |