Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
←
Previous Changeset
Next Changeset
→
Changeset bd7f7a7
Timestamp:
01/28/26 03:53:43 (
5 days
ago)
Author:
Vasilaki Tocili <vasilakigorgi@…>
Branches:
nextjs
Children:
41ea2cb
Parents:
2e0a138
Message:
feat: Implement
register
server action
Implemented the
register
server action:
It validates against the zod schema which contains the name, email password and redirectTo fields
Checks if the user already exists in the database
Hashes the password
Inserts it into the database if everything above is okay
Auto-logins and redirects to
home
once everything from above is done
Removed the noted typecheck for the error message for in the Register Form
Added
bcryptjs
as dependency for hashing the passwords before storing
them in the database
(No files)
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive