mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 23:30:36 +01:00
@@ -57,7 +57,6 @@ describe('authentication', function () {
|
||||
password: password,
|
||||
'password-confirm': password,
|
||||
gdpr_consent: true,
|
||||
acceptTos: true,
|
||||
},
|
||||
json: true,
|
||||
jar: jar,
|
||||
@@ -153,7 +152,6 @@ describe('authentication', function () {
|
||||
'password-confirm': 'adminpwd',
|
||||
userLang: 'it',
|
||||
gdpr_consent: true,
|
||||
acceptTos: true,
|
||||
},
|
||||
json: true,
|
||||
jar: jar,
|
||||
|
||||
@@ -1435,7 +1435,6 @@ describe('User', function () {
|
||||
'password-confirm': '123456',
|
||||
email: '<script>alert("ok")<script>reject@me.com',
|
||||
gdpr_consent: true,
|
||||
acceptTos: true,
|
||||
}, function (err) {
|
||||
assert.ifError(err);
|
||||
helpers.loginUser('admin', '123456', function (err, jar) {
|
||||
@@ -1468,7 +1467,6 @@ describe('User', function () {
|
||||
'password-confirm': '123456',
|
||||
email: 'accept@me.com',
|
||||
gdpr_consent: true,
|
||||
acceptTos: true,
|
||||
}, function (err) {
|
||||
assert.ifError(err);
|
||||
socketAdmin.user.acceptRegistration({ uid: adminUid }, { username: 'acceptme' }, function (err, uid) {
|
||||
|
||||
Reference in New Issue
Block a user