mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 23:30:36 +01:00
two more text fixes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user