OTP Verification Setup
RealHomes provides built-in support for OTP (One-Time Password) verification, which enhances security by requiring users to enter a code sent to their registered email during the login process.
1. Enabling and Configuring OTP
To configure the OTP functional settings, follow the navigation path based on your version of the RealHomes theme:
v4.5.1 and Later
Navigation Path
Dashboard → RealHomes → Settings → Miscellaneous → Social (tab)
v4.5.0 and Earlier
Navigation Path
Dashboard → Easy Real Estate → Settings → Social (tab)
Configuration Steps: 1. Scroll to the bottom of the page to find the OTP Settings. 2. Enable OTP for Login: Turn this toggle ON. 3. OTP Max Login Attempts: Set the maximum number of incorrect attempts allowed. 4. OTP Duration (Minutes): Define the validity lifespan of the OTP code (max 10 minutes). 5. Click Save Changes to apply.
2. Creating an OTP Page (Required for Social Login)
If you are using the Social Login feature, you must create a dedicated page for users to enter their OTP.
- Navigate to Pages → Add New.
- Title the page (e.g., OTP Verification).
- Under Page Attributes, select OTP Verification from the Template dropdown.
- Click Publish.
- Note: Ensure permalinks are set to Post name under Settings → Permalinks.
3. Configuring OTP Settings in Customizer (For Social Login)
Assign the OTP page in the Customizer:
- Go to Appearance → Customize → Header → Login & Register.
- Locate the Select OTP Page dropdown.
- Select your created OTP Verification page.
- Click Publish.