Skip to content

Commit 5f38363

Browse files
author
Bruno Krebs
committed
fixing error on silent auth;
1 parent 383c6c2 commit 5f38363

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frontend/src/App.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ class App extends Component {
2525
await auth0Client.silentAuth();
2626
this.forceUpdate();
2727
} catch (err) {
28-
if (err.error === 'login_required') return;
29-
console.log(err.error);
28+
if (err.error !== 'login_required') console.log(err.error);
3029
}
3130
this.setState({checkingSession:false});
3231
}

0 commit comments

Comments
 (0)