0e5044eb06
Pages (register, reset-password, invites) now redirect to bincio.org like login already did. Admin user-state ops (reset-password-code, suspend, unsuspend, delete account) are proxied to bincio-auth via httpx so they write to the correct DB. Adds BINCIO_AUTH_API env var.
7 lines
251 B
Plaintext
7 lines
251 B
Plaintext
---
|
|
const authUrl = import.meta.env.PUBLIC_AUTH_URL ?? '';
|
|
const target = authUrl ? authUrl + '/invites/' : '/';
|
|
---
|
|
<meta http-equiv="refresh" content={`0;url=${target}`} />
|
|
<script define:vars={{ target }}>window.location.replace(target);</script>
|