<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<head>
<title>IGNORED</title>
</head>
<body>
	<ui:composition>
	<h:panelGrid rendered="#{tp.customCurrent}">
		<h:form>

			<p:panelGrid columns="2" id="matchGrid">
				<f:facet name="header">
				#{msgs.changePasswordPageTitle}
			</f:facet>

				<h:outputLabel for="oldPassword" value="#{msgs.oldPassword}" />
				<p:password id="oldPassword" value="#{login.password}"
					required="true" requiredMessage="#{requiredMessages}" />

				<h:outputLabel for="newPassword" value="#{msgs.newPassword}" />
				<p:password id="newPassword" value="#{login.newPassword}"
					required="true" requiredMessage="#{msgs.requiredMessages}" />

				<h:outputLabel for="confirmNewPassword"
					value="#{msgs.confirmNewPassword}" />
				<p:password id="confirmNewPassword"
					value="#{login.confirmNewPassword}" required="true"
					requiredMessage="#{msgs.requiredMessages}" />

				<f:facet name="footer">
					<p:commandButton value="#{msgs.changePassword}"
						action="#{control.changePassword}">
						<p:ajax execute="oldPassword newPassword confirmNewPassword" />
					</p:commandButton>
				</f:facet>
			</p:panelGrid>
			<p:messages autoUpdate="true" showDetail="true" />
		</h:form>
		</h:panelGrid>
	</ui:composition>
</body>
</html><commit_msg>added confirm password match check<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<head>
<title>IGNORED</title>
</head>
<body>
	<ui:composition>
	<h:panelGrid rendered="#{tp.customCurrent}">
		<h:form>

			<p:panelGrid columns="2" id="matchGrid">
				<f:facet name="header">
				#{msgs.changePasswordPageTitle}
			</f:facet>

				<h:outputLabel for="oldPassword" value="#{msgs.oldPassword}" />
				<p:password id="oldPassword" value="#{login.password}"
					required="true" requiredMessage="#{requiredMessages}" />

				<h:outputLabel for="newPassword" value="#{msgs.newPassword}" />
				<p:password id="newPassword" value="#{login.newPassword}"
					required="true" requiredMessage="#{msgs.requiredMessages}"
					match="confirmNewPassword" label="Old Password 1" />

				<h:outputLabel for="confirmNewPassword"
					value="#{msgs.confirmNewPassword}" />
				<p:password id="confirmNewPassword"
					value="#{login.confirmNewPassword}" required="true"
					requiredMessage="#{msgs.requiredMessages}" label="Old Password 2"/>

				<f:facet name="footer">
					<p:commandButton value="#{msgs.changePassword}"
						action="#{control.changePassword}">
						<p:ajax execute="oldPassword newPassword confirmNewPassword" />
					</p:commandButton>
				</f:facet>
			</p:panelGrid>
			<p:messages autoUpdate="true" showDetail="true" />
		</h:form>
		</h:panelGrid>
	</ui:composition>
</body>
</html>
{'fraction_non_alphanumeric': 0.19627594627594627, 'fraction_numerical': 0.007936507936507936, 'mean_word_length': 4.810283687943262, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3867853', 'n_tokens_mistral': 1337, 'n_tokens_neox': 1128, 'n_words': 156}