feat: improve authentication and user management
- Fix token missing issue after email code registration/login - Add last login time update for code-based login - Support email login in addition to username login - Fix password login for code-registered users (allow setting password) - Fix referral code parameter passing from URL hash - Add email column to user management table - Improve profile page layout (align card heights, reorganize layout) - Add i18n support for Register Bonus, Referral Bonus, Code Lock Minutes, Code Max Attempts - Fix billing service add_credits to support reference_id parameter - Update password handling documentation
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
const userApi = {
|
||||
Login: '/api/user/login',
|
||||
Logout: '/api/user/logout',
|
||||
UserInfo: '/api/user/info',
|
||||
Login: '/api/auth/login',
|
||||
Logout: '/api/auth/logout',
|
||||
UserInfo: '/api/auth/info',
|
||||
UserMenu: '/user/nav'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user