mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-11-03 23:55:44 +00:00 
			
		
		
		
	Feat/totp (#45)
* wip * feat: finalize totp gen code * refactor: split login screen and forms * feat: add totp logic and ui * refactor: make totp pending expiry time fixed * refactor: skip all checks when disable continue is enabled * fix: fix cli not exiting on invalid input
This commit is contained in:
		@@ -15,6 +15,7 @@ import { ContinuePage } from "./pages/continue-page.tsx";
 | 
			
		||||
import { NotFoundPage } from "./pages/not-found-page.tsx";
 | 
			
		||||
import { UnauthorizedPage } from "./pages/unauthorized-page.tsx";
 | 
			
		||||
import { InternalServerError } from "./pages/internal-server-error.tsx";
 | 
			
		||||
import { TotpPage } from "./pages/totp-page.tsx";
 | 
			
		||||
 | 
			
		||||
const queryClient = new QueryClient({
 | 
			
		||||
  defaultOptions: {
 | 
			
		||||
@@ -34,6 +35,7 @@ createRoot(document.getElementById("root")!).render(
 | 
			
		||||
            <Routes>
 | 
			
		||||
              <Route path="/" element={<App />} />
 | 
			
		||||
              <Route path="/login" element={<LoginPage />} />
 | 
			
		||||
              <Route path="/totp" element={<TotpPage />} />
 | 
			
		||||
              <Route path="/logout" element={<LogoutPage />} />
 | 
			
		||||
              <Route path="/continue" element={<ContinuePage />} />
 | 
			
		||||
              <Route path="/unauthorized" element={<UnauthorizedPage />} />
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user