{#if action === "push"}
{:else}
{/if}
{actionLabel} Remote
{actionTitle}
{actionHint}
When saved, the token is stored encrypted in the operating system's keychain — never in plain text.
{ mode = "credentials"; }} aria-pressed={mode === "credentials"} >
Username + password
{ mode = "token"; }} aria-pressed={mode === "token"} >
Token
{#if mode === "credentials"}
Username
{/if}
{mode === "token" ? "Token" : "Password"}
{ showPassword = !showPassword; }} tabindex="-1" aria-label={showPassword ? "Hide" : "Show"} > {#if showPassword}
{:else}
{/if}
{#if mode === "token"}
Username is automatically set to
oauth2
. This works with GitHub, GitLab, and Bitbucket.
{/if} {#if error}
{error}
{/if} {#if saveSession}
Expiration date (optional)
After this date you'll automatically be asked to log in again.
{/if}