diff --git a/src/AuthComponent.tsx b/src/AuthComponent.tsx index 7d80216..e533d0d 100644 --- a/src/AuthComponent.tsx +++ b/src/AuthComponent.tsx @@ -75,6 +75,7 @@ class AuthComponent extends React.Component<{ url={url} onAuth={(credentials, author) => { onAuth(Git, credentials, author) + this.setState(state => ({...state, authenticated: true})) }}/> } } diff --git a/src/html/AuthDialog.tsx b/src/html/AuthDialog.tsx index ad101bd..7f322e8 100644 --- a/src/html/AuthDialog.tsx +++ b/src/html/AuthDialog.tsx @@ -107,6 +107,13 @@ class AuthDialog extends React.Component<{ }}> Login + }