Add Account Update handler (#257)

* Allow updating accounts (not username or pw).

* Updating new field names to LoginName.

* Adding creation with password test.

* Fixing documentation for WithLoginName
This commit is contained in:
Todd Knight authored and GitHub committed 2020-08-12 08:20:35 -07:00
1 parent 203e2b5dc2
commit 245c7fbb44
12 files changed
+512 -53

No files matched your search

@@ -112,6 +112,7 @@ func (s Service) UpdateAuthMethod(ctx context.Context, req *pbs.UpdateAuthMethod
if err != nil {
return nil, err
}
u.Scope = authResults.Scope
return &pbs.UpdateAuthMethodResponse{Item: u}, nil
}