diff --git a/auth/credentials.go b/auth/credentials.go index 24aa008..2e45b3d 100644 --- a/auth/credentials.go +++ b/auth/credentials.go @@ -15,8 +15,8 @@ func (crd Credentials) PasswordEmpty() bool { return crd.Password == "" } -// ClearCredentials method clears both Username & Password values -func (crd *Credentials) ClearCredentials() { +// Clear method empties both Username & Password fields +func (crd *Credentials) Clear() { crd.Username = "" crd.Password = "" }