Skip to content

Commit

Permalink
function rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Huray-hub committed Feb 28, 2024
1 parent 1411555 commit d5aa526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
}

0 comments on commit d5aa526

Please sign in to comment.