diff options
| author | Leitwolf11 | 2026-08-30 17:22:39 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-08-30 17:22:39 +0300 |
| commit | 6420aa30d09cb0815bdf7c140ebeca6218053870 (patch) | |
| tree | d2db8c3737bae8c1cc4e195669f4352a49bdd7f1 /frontend/src/components | |
| parent | f520a23ef0066c3d1021393f1e41a49af311e109 (diff) | |
| download | website-6420aa30d09cb0815bdf7c140ebeca6218053870.tar.gz | |
Separate ViGet catalogs from Progmasoft account ownership. Move login, registration, recovery, and dashboard navigation to account.progmasoft.com, document the canonical account.progmasoft.com/<Account>/dashboard route, and define each ViGet Publisher as that exact Progmasoft Account identity. Redirect legacy ViGet account routes to the account service and expose only the exact registry status endpoint while closing the retired standalone authentication and token API surface.
Diffstat (limited to 'frontend/src/components')
| -rw-r--r-- | frontend/src/components/AuthPanel.astro | 8 | ||||
| -rw-r--r-- | frontend/src/components/RepositoryHeader.astro | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/frontend/src/components/AuthPanel.astro b/frontend/src/components/AuthPanel.astro index 96ad487..dd7f46f 100644 --- a/frontend/src/components/AuthPanel.astro +++ b/frontend/src/components/AuthPanel.astro @@ -14,7 +14,7 @@ const copy = { submit: "Next", switchText: "New to the registry?", switchLabel: "Create an account", - switchHref: "https://viget.progmasoft.com/register/", + switchHref: "https://account.progmasoft.com/register", }, register: { title: "Create account", @@ -22,7 +22,7 @@ const copy = { submit: "Next", switchText: "Already have an account?", switchLabel: "Sign in", - switchHref: "https://viget.progmasoft.com/login/", + switchHref: "https://account.progmasoft.com/login", }, recover: { title: "Recover account", @@ -30,7 +30,7 @@ const copy = { submit: "Send code", switchText: "Remembered your password?", switchLabel: "Sign in", - switchHref: "https://viget.progmasoft.com/login/", + switchHref: "https://account.progmasoft.com/login", }, } as const; const content = copy[mode]; @@ -99,7 +99,7 @@ const content = copy[mode]; <button class="auth-submit" type="submit">{mode === "register" ? "Create account" : "Sign in"}</button> { mode === "login" && ( - <a class="auth-recovery" href="https://viget.progmasoft.com/recover/">Forgot password?</a> + <a class="auth-recovery" href="https://account.progmasoft.com/recover">Forgot password?</a> ) } </div> diff --git a/frontend/src/components/RepositoryHeader.astro b/frontend/src/components/RepositoryHeader.astro index 4732ca4..625bf2c 100644 --- a/frontend/src/components/RepositoryHeader.astro +++ b/frontend/src/components/RepositoryHeader.astro @@ -22,11 +22,11 @@ const { authenticated = false } = Astro.props; <a href="https://viget.progmasoft.com/dslplugins/">DSL plugins</a> { authenticated ? ( - <a href="https://viget.progmasoft.com/dashboard/">Dashboard</a> + <a href="https://account.progmasoft.com/">Account</a> ) : ( <> - <a href="https://viget.progmasoft.com/login/">Log in</a> - <a class="repository-register" href="https://viget.progmasoft.com/register/">Register</a> + <a href="https://account.progmasoft.com/login">Log in</a> + <a class="repository-register" href="https://account.progmasoft.com/register">Register</a> </> ) } |