+ Hey @{gitAuth.user?.login} 👋!{" "}
+ {(!gitAuth.app_installable || gitAuth.installations.length > 0) &&
+ "You are now authenticated with Git. Feel free to close this window!"}
+
+
+ {gitAuth.installations.length > 0 && (
+
+ {gitAuth.installations.map((install) => {
+ if (!install.account) {
+ return
+ }
+ return (
+
+
+
+ {install.account.login}
+
+
+
+ )
+ })}
+
+ {gitAuth.installations.length} organization
+ {gitAuth.installations.length !== 1 && "s are"} authorized
+
+ )}
+
+
+ {!hasInstallations && gitAuth.app_installable && (
+
+ You must {installTheApp} to clone private repositories. Accounts
+ will appear here once authorized.
+
+ )}
+
+ {viewGitAuthConfig &&
+ gitAuth.app_install_url &&
+ gitAuth.app_installable && (
+
+
+ {gitAuth.installations.length > 0
+ ? "Configure"
+ : "Install"} the {gitAuth.type} App
+
+ )}
+
{
+ onReauthenticate()
+ }}
+ >
+
Reauthenticate
+
+
+