feat(admin): create users by mobile number instead of email
Admin user management now creates accounts with a required mobile number and an optional contact email, matching mobile-only auth. Admin-created accounts are pre-verified (phoneVerified) so the user can sign in by password immediately. The user list and search now include phone. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -754,20 +754,24 @@ const en: Dictionary = {
|
||||
createNewUser: 'Create New User',
|
||||
firstName: 'First Name',
|
||||
lastName: 'Last Name',
|
||||
phone: 'Mobile number',
|
||||
email: 'Email',
|
||||
emailOptional: 'Email (optional)',
|
||||
password: 'Password',
|
||||
firstNamePlaceholder: 'John',
|
||||
lastNamePlaceholder: 'Doe',
|
||||
phonePlaceholder: '09123456789',
|
||||
emailPlaceholder: 'john@example.com',
|
||||
passwordMin: 'Min 8 characters',
|
||||
role: 'Role',
|
||||
roles: { user: 'User', admin: 'Admin', technical: 'Technical', sales: 'Sales' },
|
||||
creating: 'Creating...',
|
||||
createUser: 'Create User',
|
||||
searchPlaceholder: 'Search by name or email...',
|
||||
searchPlaceholder: 'Search by name, mobile or email...',
|
||||
noUsersSearch: 'No users found matching your search.',
|
||||
noUsers: 'No users yet.',
|
||||
colUser: 'User',
|
||||
colPhone: 'Mobile',
|
||||
colEmail: 'Email',
|
||||
colRole: 'Role',
|
||||
colStatus: 'Status',
|
||||
|
||||
Reference in New Issue
Block a user