@aion0/forge 0.10.83 → 0.10.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/RELEASE_NOTES.md CHANGED
@@ -1,11 +1,11 @@
1
- # Forge v0.10.83
1
+ # Forge v0.10.84
2
2
 
3
3
  Released: 2026-06-15
4
4
 
5
- ## Changes since v0.10.82
5
+ ## Changes since v0.10.83
6
6
 
7
7
  ### Other
8
- - feat(settings): disable admin password change in container mode
8
+ - fix(auth): logout redirects to current origin, not localhost:8403
9
9
 
10
10
 
11
- **Full Changelog**: https://github.com/aiwatching/forge/compare/v0.10.82...v0.10.83
11
+ **Full Changelog**: https://github.com/aiwatching/forge/compare/v0.10.83...v0.10.84
@@ -916,7 +916,14 @@ export default function Dashboard({ user }: { user: any }) {
916
916
  <span className="w-3 text-center">?</span><span>Help</span>
917
917
  </button>
918
918
  <button
919
- onClick={() => signOut({ callbackUrl: '/login' })}
919
+ onClick={async () => {
920
+ // Redirect client-side so logout stays on the CURRENT origin
921
+ // (tunnel host / LAN IP / custom port). next-auth's own
922
+ // callbackUrl uses the server baseUrl, which is localhost:8403
923
+ // when cloudflared rewrites the Host header.
924
+ await signOut({ redirect: false });
925
+ window.location.href = '/login';
926
+ }}
920
927
  className="w-full text-left text-[11px] px-3 py-1.5 text-[var(--text-secondary)] hover:text-[var(--red)] hover:bg-[var(--bg-tertiary)] flex items-center gap-2"
921
928
  >
922
929
  <span className="w-3 text-center">⏻</span><span>Logout</span>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aion0/forge",
3
- "version": "0.10.83",
3
+ "version": "0.10.84",
4
4
  "description": "Unified AI workflow platform — multi-model task orchestration, persistent sessions, web terminal, remote access",
5
5
  "type": "module",
6
6
  "scripts": {