mirror of
https://github.com/freedbygrace/ActiveDirectoryManager.git
synced 2026-08-11 03:09:37 +00:00
Fix registration issues and implement PostgreSQL database for persistent storage.
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/161c3a9f-0168-4125-bae3-1975632f0e7f.jpg
This commit is contained in:
@@ -140,6 +140,7 @@ export default function AuthPage() {
|
||||
email: "",
|
||||
fullName: "",
|
||||
acceptTerms: false,
|
||||
role: "user",
|
||||
},
|
||||
});
|
||||
|
||||
@@ -298,6 +299,7 @@ export default function AuthPage() {
|
||||
<Input
|
||||
placeholder="Enter your full name"
|
||||
{...field}
|
||||
value={field.value || ""}
|
||||
disabled={registerMutation.isPending}
|
||||
/>
|
||||
</FormControl>
|
||||
@@ -317,6 +319,7 @@ export default function AuthPage() {
|
||||
type="email"
|
||||
placeholder="Enter your email"
|
||||
{...field}
|
||||
value={field.value || ""}
|
||||
disabled={registerMutation.isPending}
|
||||
/>
|
||||
</FormControl>
|
||||
|
||||
Reference in New Issue
Block a user