Skip to content

Commit

Permalink
Merge pull request #926 from cornell-dti/nidhi/outside-login
Browse files Browse the repository at this point in the history
Adding ability to choose account for login
  • Loading branch information
NIDHI2023 authored Mar 5, 2025
2 parents c1b46d2 + 6f1d182 commit 1486bbe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/pages/LoginView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ const LoginView: React.FC = () => {
authProvider.setCustomParameters({
hd: 'cornell.edu',
});
} else if (process.env.NODE_ENV !== 'production' && process.env.REACT_APP_IS_STAGING !== 'true') {
authProvider.setCustomParameters({
prompt: 'select_account'
});
}

authProvider.addScope('email');
authProvider.addScope('profile');

Expand Down
3 changes: 3 additions & 0 deletions src/styles/professor/ProfessorView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
outline: none;
user-select: none;
}
.CalendarSessionCard .cal-btn {
color: white;
}

.main {
margin-right: 50px;
Expand Down

0 comments on commit 1486bbe

Please sign in to comment.