Users Entity

The users entity stores the user accounts: the login credentials, the role and the account status.

Managing users in the admin panel

Users are in the Users section of the admin sidebar, under Users (/reldens-admin/users). The password is encrypted when the user is saved. Only the users with the admin role ID (admin/roleId config, 99 by default) can access the administration panel.

Key Properties

  • email: Unique email
  • username: Unique username
  • password: Encrypted password
  • role_id: Role of the user
  • status: Account status
  • played_time: Total played time
  • login_count: Number of logins
  • password_reset_sent_at: Time of the last password reset email
  • origin: How the account was created (registration by default)
  • created_at and updated_at: Timestamps

Database Relations

  • players: Players of the user
  • users_locale: Selected locale
  • users_login: Login history
Go Up