Fix merge bug
This commit is contained in:
@@ -68,7 +68,7 @@ class PGP {
|
||||
}
|
||||
|
||||
// check for at least one valid user id
|
||||
const userIds = await this.parseUserIds(key.users, primaryKey, verifyDate);
|
||||
const {userIds, status} = await this.parseUserIds(key.users, primaryKey, verifyDate);
|
||||
if (!userIds.length) {
|
||||
if (status == 1) {
|
||||
util.throw(400, 'Invalid PGP key: no user ID comes from a valid organisation');
|
||||
|
||||
Reference in New Issue
Block a user