Feat: allow email password sign in/up for selfhosters (#54)

* feat: add password reset functionality with email template and credentials config

* feat: add authentication configuration options and improve development setup

* feat: add password-based authentication and signup control flags

* feat: update auth form to support name field

* fix: prevent password icon from overlaying the input text

---------

Co-authored-by: Henry <henry_ball@hotmail.co.uk>
This commit is contained in:
LovelessCodes
2025-06-08 22:25:37 +02:00
committed by GitHub
parent 53426bf155
commit 96f2835bab
12 changed files with 394 additions and 149 deletions

View File

@@ -3,49 +3,28 @@
"ui": "tui",
"tasks": {
"topo": {
"dependsOn": [
"^topo"
]
"dependsOn": ["^topo"]
},
"build": {
"dependsOn": [
"^build"
],
"outputs": [
".cache/tsbuildinfo.json",
"dist/**"
]
"dependsOn": ["^build"],
"outputs": [".cache/tsbuildinfo.json", "dist/**"]
},
"dev": {
"dependsOn": [
"^dev"
],
"dependsOn": ["^dev"],
"cache": false,
"persistent": false
},
"format": {
"outputs": [
".cache/.prettiercache"
],
"outputs": [".cache/.prettiercache"],
"outputLogs": "new-only"
},
"lint": {
"dependsOn": [
"^topo",
"^build"
],
"outputs": [
".cache/.eslintcache"
]
"dependsOn": ["^topo", "^build"],
"outputs": [".cache/.eslintcache"]
},
"typecheck": {
"dependsOn": [
"^topo",
"^build"
],
"outputs": [
".cache/tsbuildinfo.json"
]
"dependsOn": ["^topo", "^build"],
"outputs": [".cache/tsbuildinfo.json"]
},
"clean": {
"cache": false
@@ -117,6 +96,8 @@
"NEXT_PUBLIC_STORAGE_DOMAIN",
"NEXT_PUBLIC_STORAGE_URL",
"NEXT_PUBLIC_AVATAR_BUCKET_NAME",
"NEXT_PUBLIC_ALLOW_CREDENTIALS",
"NEXT_PUBLIC_DISABLE_SIGN_UP",
"S3_REGION",
"S3_ACCESS_KEY_ID",
"S3_SECRET_ACCESS_KEY",
@@ -134,4 +115,4 @@
"VERCEL_URL",
"npm_lifecycle_event"
]
}
}