mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 09:25:43 +01:00
Show session expired warning if the jwt token is expired
This commit is contained in:
@@ -73,7 +73,7 @@ class App extends Component<Props> {
|
||||
let content;
|
||||
const navigation = authenticated ? <PrimaryNavigation links={links} /> : "";
|
||||
|
||||
if (!authenticated) {
|
||||
if (!authenticated && !loading) {
|
||||
content = <Login />;
|
||||
} else if (loading) {
|
||||
content = <Loading />;
|
||||
|
||||
Reference in New Issue
Block a user