two more text fixes

v1.18.x
Barış Soner Uşaklı 7 years ago
parent 65c8457898
commit ed289ebeab

@ -1434,6 +1434,7 @@ describe('User', function () {
password: '123456',
'password-confirm': '123456',
email: '<script>alert("ok")<script>reject@me.com',
gdpr_consent: true,
}, function (err) {
assert.ifError(err);
helpers.loginUser('admin', '123456', function (err, jar) {
@ -1465,6 +1466,7 @@ describe('User', function () {
password: '123456',
'password-confirm': '123456',
email: 'accept@me.com',
gdpr_consent: true,
}, function (err) {
assert.ifError(err);
socketAdmin.user.acceptRegistration({ uid: adminUid }, { username: 'acceptme' }, function (err, uid) {

Loading…
Cancel
Save