소스 검색

Alter endpoint for account settings, change password form submission.

Douglas Lovell 8 년 전
부모
커밋
7d10e64840
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/web/app/views/user/settings.pug

+ 1 - 1
services/web/app/views/user/settings.pug

@@ -75,7 +75,7 @@ block content
 
 
 								.col-md-5.col-md-offset-1
 								.col-md-5.col-md-offset-1
 									h3 #{translate("change_password")}
 									h3 #{translate("change_password")}
-									form(async-form="changepassword", name="changePasswordForm", action="/user/password/update", method="POST", novalidate)
+									form(async-form="changepassword", name="changePasswordForm", action="/change_password/v1", method="POST", novalidate)
 										input(type="hidden", name="_csrf", value=csrfToken)
 										input(type="hidden", name="_csrf", value=csrfToken)
 										.form-group
 										.form-group
 											label(for='currentPassword') #{translate("current_password")}
 											label(for='currentPassword') #{translate("current_password")}