Body: <p>So there's the function to set a <a href="https://docs.craftcms.com/v3/dev/examples/user-profile-form.html#password" rel="nofollow noreferrer">new password</a>, but is there also the possibility to create a second password field to check if both new passwords matches and only then set the new password?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-06T10:45:33.423Z
Comments.Text: [This plugin](https://github.com/alecritson/Craft-Password-Confirm) would be a pretty straight forward rewrite for Craft 3.
Comments.UserDisplayName: Oli
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-06T11:52:48.010Z
Comments.Text: Awesome, thank you. Will rewrite this for Craft 3. Thanks as always Oli :)
Comments.UserDisplayName: Christopher Dosin
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-06T14:08:36.137Z
Comments.Text: Glad I could help!
Comments.UserDisplayName: Oli
Tags: <user-profile><password>
Title: User profile form, repeat new password and check if they match
ThreadText: # User profile form, repeat new password and check if they match
  
  (Asked by: username_0 on 2019-11-03)
  
  So there's the function to set a [new password](https://docs.craftcms.com/v3/dev/examples/user-profile-form.html#password), but is there also the possibility to create a second password field to check if both new passwords matches and only then set the new password?
  
  **Tags:** user-profile, password
  
  > **Comments:**
  > **username_1**: [This plugin](https://github.com/alecritson/Craft-Password-Confirm) would be a pretty straight forward rewrite for Craft 3.  
  > **username_0**: Awesome, thank you. Will rewrite this for Craft 3. Thanks as always Oli :)  
  > **username_1**: Glad I could help!  
  
  ---
  
  ## 0 answers
  
  