Skip to content

User settings: registration, new-user defaults, custom fields and avatars

Describes PhoenixKit 3.6.1. On an older release? The version menu above has this guide as it was then.

Settings > Users decides how accounts come into being and what people find on their own settings page: whether anyone can register, what a new account starts with, extra profile fields and the shape of avatars.

Where to find it

In the admin sidebar, Settings > Users (/admin/settings/users). You need a role with the Settings permission. Changing who can register and the new-user defaults also needs the Security settings permission; without it those controls are shown but greyed out, with a line saying so.

The page has eight tabs. The first five share one Save User Settings button at the bottom; a changed but unsaved value is marked next to it. The last three save each change at once.

Settings, Users, Registration tab in PhoenixKit: Anyone can register, Require email confirmation, Track user registration location, Show username field, Enable organization accounts and the account types on the signup page Settings, Users, Registration tab in PhoenixKit: Anyone can register, Require email confirmation, Track user registration location, Show username field, Enable organization accounts and the account types on the signup page

Settings → Users, the Registration tab.

Registration

  • Anyone can register: when off, the sign-up page sends visitors to the log-in page with the message User registration is currently disabled. Please contact an administrator., and the log-in page stops offering Create an account.
  • Require email confirmation before using the app: new accounts must click the link in the confirmation email first. While it is on, an account that has not confirmed its address gets only the mail its holder asks for (the confirmation, a password reset, a sign-in link): no notification or digest emails and no security alerts.
  • Track user registration location: stores the registration IP and approximate location (country, region, city). A privacy notice appears when you tick it. It uses the free IP-API.com service with ipapi.co as fallback, and is off by default.
  • Show username field on registration: adds a username field to the sign-up form.
  • Enable organization accounts: turns on company accounts (see the Organizations guide). While on, Account types on the signup page chooses Visitor chooses, Personal accounts only or Organization accounts only.

Sessions

  • Allow “Keep me logged in” (persistent sessions): shows the checkbox on the log-in page.
  • Check it by default (users can still untick it).

Persistent sessions last 60 days. Magic-link and social logins have no checkbox, so they follow the default. Turning the first option off hides the checkbox everywhere and keeps every login to the browser session.

Post-Login Redirects

  • After-login path: the local path people land on after signing in.
  • After-registration path: where a freshly registered account lands. Empty means the after-login path.
  • User settings path: where the Settings entry in the user menu goes. Empty means PhoenixKit’s own profile settings page; set it to send people to your own account page instead.

When a protected page sent someone to the log-in page, they go back to that page instead.

New User Defaults

  • New User Default Role: the role every new registration gets.
  • New User Default Status: whether new accounts start active. Choosing inactive shows a Security Notice: Inactive Default: new users can’t log in until an admin activates them. The first user (the Owner) is always active.

Roles

  • Let users with several roles act as one role at a time: a person holding two or more switchable roles works as one of them and gets only that role’s access. An Admin acting as another role has no admin access until switching back. Owner and Admin are always switchable; the User role always applies. Each sign-in starts in the first role the person holds, in the order set on the Roles page.
  • Switcher location: Account menu, or Header (account menu on phones).
  • Always-on roles: custom roles ticked here are not offered in the switcher; they apply whichever role is active.

Custom User Fields

Extra profile fields for every account. Add Custom Field (or Add First Field on an empty list) opens a form:

  • Field Key: lowercase letters, numbers and underscores.
  • Label, and an optional Column name for the Users table header.
  • Type: Text, Textarea, Number, Boolean, Date, Email, Url, Uuid, Select, Radio or Checkbox. Select, Radio and Checkbox need at least one entry under Options.
  • Required field.
  • User can edit this field: shown as User Editable in the list; otherwise Admin Only.
  • Filter in the Users table, for Boolean fields: adds a Yes/No filter to the Users list.

Each field in the list can be disabled or enabled, edited, or deleted (deleting asks first). Values are filled in on the user form and, for user-editable fields, on the person’s own settings page.

The Custom User Fields tab under Settings, Users: no custom fields defined yet, with Add First Field The Custom User Fields tab under Settings, Users: no custom fields defined yet, with Add First Field

Custom user fields: extra profile fields for every account.

Profile Page

A switch for each section of the person’s own settings page: Google email address, Custom fields, Change email, Start page, Annotation tools reset, Password, Connected sign-in accounts, Passkeys, Sessions and Notifications. Switching one off hides it from everyone’s page; a tab whose sections are all hidden disappears. Hiding doesn’t change anyone’s data. Name and avatar can’t be hidden.

Avatars

The shape every avatar on the site is drawn in: menus, lists, profiles and the crop editor. The choices are Circle, Squircle, Rounded square, Square, Hexagon, Flat hexagon, Decagon, Pentagon, Diamond, Heart and Star. Each tile shows your own avatar in that shape; a click saves it.

What it doesn’t do

  • Sign-in methods (magic link, QR code, social logins) are not here; they are in Settings > Authorization.
  • Hiding a section on the Profile Page tab only hides it from the person’s page; it doesn’t stop an admin from editing the same data.