Skip to content

Commit a5e29a2

Browse files
committed
fix: disable verificiation
1 parent 9c88274 commit a5e29a2

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

middlewares/hacker.middleware.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,17 @@ function validateConfirmedStatus(account) {
127127
message: Constants.Error.ACCOUNT_404_MESSAGE,
128128
data: { account: account }
129129
};
130-
} else if (!account.confirmed) {
130+
}
131+
/*
132+
else if (!account.confirmed) {
131133
return {
132134
status: 403,
133135
message: Constants.Error.ACCOUNT_403_MESSAGE,
134136
data: { account: { id: account.id, confirmed: account.confirmed } }
135137
};
136-
} else if (account.accountType !== Constants.General.HACKER) {
138+
}
139+
*/
140+
else if (account.accountType !== Constants.General.HACKER) {
137141
return {
138142
status: 409,
139143
message: Constants.Error.ACCOUNT_TYPE_409_MESSAGE,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hackerAPI",
3-
"version": "3.1.4",
3+
"version": "3.1.5",
44
"private": true,
55
"scripts": {
66
"start": "DEBUG=hackboard:* NODE_ENV=test nodemon --ignore gcp_creds.json ./bin/www.js",

0 commit comments

Comments
 (0)