🔐 Authentication Overview
Every project created in the Hisend platform includes a built-in users table to support authentication out of the box.
📋 Default User Columns
The users
table comes with these default fields:
first_name
last_name
email
(unique)phone
(unique)
⚙️ Authentication Logic
User authentication including password hashing and email verification is fully managed at the platform level. You do not need to implement this manually.
When users sign up or log in, the platform automatically handles:
- Secure password storage
- Email uniqueness check
- Phone uniqueness check
- Email verification workflow
🚫 Field Restrictions
You cannot manually add the following fields to the users
table:
password
password_confirmation
These fields are automatically managed by the platform during authentication operations and should not be duplicated.
➕ Custom Columns
You are free to extend the users
table with any number of custom fields
following the snake_case naming convention.
Examples of valid custom columns:
company_name
preferred_language
referral_code