Fix typo in password.go (#9177)

* Fix typo in password.go
This commit is contained in:
Alex
2024-05-15 15:07:27 +02:00
committed by GitHub
parent 04cd105b82
commit 9406da351b
+1 -1
View File
@@ -53,7 +53,7 @@ func (g Graph) ChangeOwnPassword(w http.ResponseWriter, r *http.Request) {
}
if newPw == currentPw {
errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "new password must be differnt from current password")
errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "new password must be different from current password")
return
}