Skip to content

Commit c3e6001

Browse files
committed
Password typo
1 parent 085e26b commit c3e6001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/api/src/modules/user/mutation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { send as sendEmail } from '../email/send'
1515
import Signup from './email/Signup'
1616

1717
// Create
18-
export async function userSignup({ params: { name, email, password, passwordRetype }, translate }) {
18+
export async function userSignup({ params: { name, email, password, passwordRepeat }, translate }) {
1919
// Validation rules
2020
const rules = [
2121
{
@@ -34,7 +34,7 @@ export async function userSignup({ params: { name, email, password, passwordRety
3434
message: translate.t('user.messages.fields.passwordMinLength', { length: params.user.rules.nameMinLength })
3535
},
3636
{
37-
data: { value1: password, value2: passwordRetype },
37+
data: { value1: password, value2: passwordRepeat },
3838
check: 'equal',
3939
message: translate.t('user.messages.fields.passwordEqual')
4040
}

0 commit comments

Comments
 (0)