Skip to content

Commit 3292465

Browse files
authored
Merge pull request #15 from PFConnect/redesign
VATSIM Auth
2 parents b37b7a6 + 326bc87 commit 3292465

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

server/routes/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ router.get('/vatsim', requireAuth, (req, res) => {
209209
client_id: String(VATSIM_CLIENT_ID),
210210
redirect_uri: VATSIM_REDIRECT_URI,
211211
response_type: 'code',
212-
scope: 'full_name vatsim_details',
212+
scope: 'vatsim_details',
213213
state
214214
});
215215
const forceCookie = req.cookies && req.cookies.vatsim_force === '1';

src/App.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ export default function App() {
7272
/>
7373

7474
<Route path="/login" element={<Login />} />
75-
<Route path="/login/vatsim/callback" element={<VatsimCallback />} />
75+
<Route
76+
path="/login/vatsim/callback"
77+
element={<VatsimCallback />}
78+
/>
7679
<Route path="/submit/:sessionId" element={<Submit />} />
7780
<Route
7881
path="acars/:sessionId/:flightId"
@@ -86,10 +89,7 @@ export default function App() {
8689
path="/pilots/:username"
8790
element={<PilotProfile />}
8891
/>
89-
<Route
90-
path="settings"
91-
element={<Settings />}
92-
/>
92+
<Route path="settings" element={<Settings />} />
9393

9494
<Route
9595
path="/admin/*"

0 commit comments

Comments
 (0)