We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6114db commit b0df204Copy full SHA for b0df204
frontend/src/App.js
@@ -207,9 +207,13 @@ export default function App() {
207
<QRcodePage userName={currentUser.userName} />
208
</RouteIf>
209
210
- <Route path="/dmarc-report/:period?/:year?">
+ <RouteIf
211
+ condition={isLoggedIn()}
212
+ alternate="/sign-in"
213
+ path="/dmarc-report/:period?/:year?"
214
+ >
215
<DmarcReportPage />
- </Route>
216
+ </RouteIf>
217
218
<Route component={PageNotFound} />
219
</Switch>
0 commit comments