Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"lint-prod": "eslint --fix src"
},
"dependencies": {

"@monaco-editor/react": "^4.2.0",
"@stripe/react-stripe-js": "^2.1.0",
"@stripe/stripe-js": "^2.1.11",
Expand Down
2 changes: 1 addition & 1 deletion src/components/auth/SignIn.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function SignIn() {
setFormState({ error: 'a valid email is required' });
} else if (!pass) {
setFormState({ error: 'password is required' });
} else if (theme === 'akamai' && formData.email.indexOf('harperdb.io') === -1 && formData.email.indexOf('akamai.com') === -1) {
} else if (theme === 'akamai' && formData.email.indexOf('harperdb.io') === -1 && formData.email.indexOf('akamai.com') === -1 && formData.email.indexOf('walmart.com') === -1) {
setFormState({ error: 'portal access denied' });
} else {
setFormState({ processing: true });
Expand Down
2 changes: 1 addition & 1 deletion src/functions/auth/handleSignup.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default async ({ formData, theme }) => {
};
}

if (theme === 'akamai' && formData.email.indexOf('harperdb.io') === -1 && formData.email.indexOf('akamai.com') === -1) {
if (theme === 'akamai' && formData.email.indexOf('harperdb.io') === -1 && formData.email.indexOf('akamai.com') === -1 && formData.email.indexOf('walmart.com') === -1) {
return {
error: 'portal signup denied',
};
Expand Down
Loading