mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 23:10:00 +02:00
- Add setupTokens database table with proper schema - Implement setup token generation on first server startup - Add token validation endpoint and modify admin creation - Update initial setup page to require setup token - Add migration scripts for both SQLite and PostgreSQL - Add internationalization support for setup token fields - Implement proper error handling and logging - Add CLI command for resetting user security keys This prevents unauthorized access during initial server setup by requiring a token that is generated and displayed in the server console.
16 lines
543 B
TypeScript
16 lines
543 B
TypeScript
export * from "./login";
|
|
export * from "./signup";
|
|
export * from "./logout";
|
|
export * from "./verifyTotp";
|
|
export * from "./requestTotpSecret";
|
|
export * from "./disable2fa";
|
|
export * from "./verifyEmail";
|
|
export * from "./requestEmailVerificationCode";
|
|
export * from "./resetPassword";
|
|
export * from "./requestPasswordReset";
|
|
export * from "./setServerAdmin";
|
|
export * from "./initialSetupComplete";
|
|
export * from "./validateSetupToken";
|
|
export * from "./changePassword";
|
|
export * from "./checkResourceSession";
|
|
export * from "./securityKey";
|