Skip to content

Commit

Permalink
Merge pull request #5516 from duobei/fix-typos
Browse files Browse the repository at this point in the history
  • Loading branch information
psafont authored Mar 14, 2024
2 parents c56b039 + ae31853 commit 9b94769
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ocaml/idl/datamodel.ml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ module Session = struct
call ~flags:[`Session] ~name:"change_password"
~doc:
"Change the account password; if your session is authenticated with \
root priviledges then the old_pwd is validated and the new_pwd is set \
root privileges then the old_pwd is validated and the new_pwd is set \
regardless"
~params:
[
Expand Down
4 changes: 2 additions & 2 deletions ocaml/xapi/xapi_session.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1149,8 +1149,8 @@ let change_password ~__context ~old_pwd ~new_pwd =
try
(* CP-696: only change password if session has is_local_superuser bit set *)
(*
CA-13567: If you have root priviledges then we do not authenticate old_pwd; right now, since we only
ever have root priviledges we just comment this out.
CA-13567: If you have root privileges then we do not authenticate old_pwd; right now, since we only
ever have root privileges we just comment this out.
begin
try
Expand Down

0 comments on commit 9b94769

Please sign in to comment.