Member sign up and log in
Let visitors create an account and log in on your site with email and password.
Memberships adds visitor accounts to a site. Visitors register with name, email and password and log in with email and password. Members are stored as items in a protected CMS collection called Memberships/Members. Forms are plain HTML forms in the Designer marked with the dh-membership attribute (register, login, logout). After success the visitor is sent to the redirect you configured. Use it for communities, courses, client portals or any site where content depends on who is logged in.
How it works
- Install: installing the Memberships app creates two protected CMS collections, Memberships/Plans and Memberships/Members (config membership, protected, hideSEO, hideScheduling).
- Members collection fields: email, password (Account); first-name, last-name, avatar (Profile); role (member/admin), status (active/suspended/pending), verified, plans (multi relation to Plans) (Membership); google-id (OAuth).
- Email is lowercased; the item name is the email. Name required, valid email, password 6 to 128 characters. Duplicate email is refused. The name is split into first-name and last-name. role=member, status=active, verified=false. If a default plan is set it is assigned. A verification email is sent and the member is logged in right away.
- Finds the member by item name, then by the email field (older records). Suspended accounts are refused; deleted accounts get the generic invalid message.
- Logout: form or element with dh-membership="logout".
- Rate limits (15 minute window): login 8 per IP+email and 40 per IP; register 5 per email and 30 per IP; forgot 5 per email and 20 per IP; reset 20 per IP. Message: "Too many attempts. Try again later."
- Cookie lifetime 31 days.
- Account changes from the account page need the session CSRF token in the X-CSRF-Token header.
- Email verification is not required to log in.
When to use it
- Online course site where students log in to see lessons
- Client portal with a private area per customer
- Community site with member profiles
Limitations
- Members live in a CMS collection; extra profile fields are added in the CMS
Availability
- Works in Designer and MCP.
- Included in the Business and Professional plans.
- Limits: Password 6 to 128 characters. Max 20 sessions per member (oldest removed). Rate limits per 15 min: login 8 per IP+email / 40 per IP; register 5 per email / 30 per IP.
How to use it.
- Install the Memberships app (it also installs CMS if needed and creates the login, register, forgot password, reset password and account verified pages)
- Open the created pages in the Designer and style the forms
- Set redirects in Memberships > Redirects
Questions.
Where are members stored?
What is the minimum password length?
How long does a login last?
Related features.
Google sign in for members
Members can sign up and log in with their Google account using your own Google Client ID.
Member email verification
New members get an email with a link that marks their address as verified.
Member password reset
Members who forget their password get a reset link by email and set a new one.
Member sessions and devices
Members see where they are logged in and can log out one device or all others.
Membership redirects
Choose where members land after login, sign up, purchase and logout, with per-plan rules.
Browse other features
Designer
Bring your ideas to life with our visual website builder. Drag and drop with ease, or dive into coding when needed.
→AI Studio
Describe it and AI builds it. Every change lands in the same project you can open in the Designer.
→MCP
Connect Claude Code, Cursor or any MCP client and build whole sites with your own agent.
→CMS
Create, organize, and manage your dynamic content with the maximum freedom and flexibility of our visual CMS.
→SEO
Divhunt delivers ultra-fast & structured sites that are good for ranking by default, while offering complete control for customization.
→REST API
Easily link to any REST API endpoint with instant preview and expand your site’s functionality smoother than ever before.
→Plugins
Divhunt offers an open platform for creating plugins to upgrade features, add new capabilities, and simplify building better sites.
→Localization
Localize everything from static pages and CMS content to URLs and metadata, in up to 15 languages with no add-on.
→Interactions
Visually create animations and interactions with a simple, intuitive timeline. Build smooth, engaging experiences without code.
→Custom Files
Manage JS and CSS files with a structure developers love, combining folders and clean organization.
→Memberships
Create plans, decide who sees what and connect it all to your CMS. Build courses, communities or client portals.
→