blob: d6ea5632e35396fce63f1c6a5457344acc8355cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
methods:
post: [nickname, password]
names:
nickname:
required: true
required_msg: Your Username is required
validators: [nicknameValidator, userValidator]
password:
required: true
required_msg: Your password is required
nicknameValidator:
class: sfStringValidator
param:
min: 5
min_error: Username must be 5 or more characters
userValidator:
class: myLoginValidator
param:
password: password
login_error: This Username does not exist or you entered a wrong password
|