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
32 changes: 31 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ class App extends React.Component {
requiredAuthState: true,
redirAfterLogin: true,
AuthVerification: (user: IAccount) =>
user.confirmed && user.accountType === UserType.STAFF,
user.confirmed &&
(user.accountType === UserType.STAFF ||
user.accountType === UserType.HACKBOARD),
}),
{ activePage: 'search' }
)
Expand All @@ -300,7 +302,9 @@ class App extends React.Component {
requiredAuthState: true,
redirAfterLogin: true,
AuthVerification: (user: IAccount) =>
user.confirmed && user.accountType === UserType.STAFF,
user.confirmed &&
(user.accountType === UserType.STAFF ||
user.accountType === UserType.HACKBOARD),
}),
{ activePage: 'settings' }
)
Expand Down Expand Up @@ -383,6 +387,7 @@ class App extends React.Component {
AuthVerification: (user: IAccount) =>
user.confirmed &&
(user.accountType === UserType.STAFF ||
user.accountType === UserType.HACKBOARD ||
user.accountType === UserType.VOLUNTEER),
})
),
Expand Down
3 changes: 2 additions & 1 deletion src/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ export const OTHER_LINK_PLACEHOLDER = 'https://my.website.com/';
export const MCHACKS_COC = 'Code of Conduct';
export const MCHACKS_PRIVACY = 'Privacy Policy';
export const MLH_LABEL = 'I accept the MLH policies.';
export const SEND_EMAIL_LABEL = 'I authorize MLH to send me occasional emails about relevant events, career opportunities, and community announcements.';
export const SEND_EMAIL_LABEL =
'I authorize MLH to send me occasional emails about relevant events, career opportunities, and community announcements.';
export const PERSONAL_LABEL = 'Personal URL';
export const RESUME_LABEL = 'Resume';
export const SHIRT_SIZE_LABEL = 'Shirt Size (Unisex)';
Expand Down
Loading