New filters on the Home Feed, take a look!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

10
Unfortunately, today I get to contribute here.... and the whole app is pretty much like this. meh
Post Body

if (inputUsername === 'FINANCE' && inputPassword === process.env.REACT_APP_PASS) {
user = {
email: '[email protected]',
role: 'FINANCE',
team: null,
terr: null,
userName: 'finance',
empID: null,
SearchHistory: [],
};
props.login(user, () => {
if (props.location.pathname === '/login') {
props.history.push('/');
} else {
props.history.push(props.location.state.from.pathname);
}
});
} else if (inputUsername === 'HUMAN RESOURCES' && inputPassword === process.env.REACT_APP_PASS) {
user = {
email: '[email protected]',
role: 'HUMAN RESOURCES',
team: null,
terr: null,
userName: 'humanresources',
empID: null,
SearchHistory: [],
};
props.login(user, () => {
if (props.location.pathname === '/login') {
props.history.push('/');
} else {
props.history.push(props.location.state.from.pathname);
}
});
} else if (inputUsername === 'DEVELOPMENT CLINICAL TRIALS' && inputPassword === process.env.REACT_APP_PASS) {
user = {
email: '[email protected]',
role: 'DEVELOPMENT CLINICAL TRIALS',
team: null,
terr: null,
userName: 'developmentclinicaltrials',
empID: null,
SearchHistory: [],
};
props.login(user, () => {
if (props.location.pathname === '/login') {
props.history.push('/');
} else {
props.history.push(props.location.state.from.pathname);
}
});
} else if (inputUsername === 'MEDICAL AFFAIRS' && inputPassword === process.env.REACT_APP_PASS) {
user = {
email: '[email protected]',
role: 'MEDICAL AFFAIRS',
team: null,
terr: null,
userName: 'medicalaffairs',
empID: null,
SearchHistory: [],
};
props.login(user, () => {
if (props.location.pathname === '/login') {
props.history.push('/');
} else {
props.history.push(props.location.state.from.pathname);
}
});
} else if (inputUsername === 'MEDICAL AFFAIRS-MALT' && inputPassword === process.env.REACT_APP_PASS) {
user = {
email: '[email protected]',
role: 'MEDICAL AFFAIRS-MALT',
team: null,
terr: null,
userName: 'medicalaffairsmalt',
empID: null,
SearchHistory: [],
};
props.login(user, () => {
if (props.location.pathname === '/login') {
props.history.push('/');
} else {
props.history.push(props.location.state.from.pathname);
}
});
} else if (inputUsername === 'ABD' && inputPassword === process.env.REACT_APP_PASS) {
user = {
email: '[email protected]',
role: 'ABD',
team: null,
terr: null,
userName: 'abd',
empID: null,
SearchHistory: [],
};
props.login(user, () => {
if (props.location.pathname === '/login') {
props.history.push('/');
} else {
props.history.push(props.location.state.from.pathname);
}
});
} else if (inputUsername === 'MARKET ACCESS' && inputPassword === process.env.REACT_APP_PASS) {
user = {
email: '[email protected]',
role: 'MARKET ACCESS',
team: null,
terr: null,
userName: 'marketaccess',
empID: null,
SearchHistory: [],
};
props.login(user, () => {
if (props.location.pathname === '/login') {
props.history.push('/');
} else {
props.history.push(props.location.state.from.pathname);
}
});
} else if (inputUsername !== '' && inputPassword !== '') {
let temp = {
username: encodeURIComponent(inputUsername),
password: encodeURIComponent(inputPassword),
};
Axios(...

Author
Account Strength
60%
Account Age
8 years
Verified Email
No
Verified Flair
No
Total Karma
994
Link Karma
815
Comment Karma
164
Profile updated: 3 days ago
Posts updated: 1 year ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago