CM Registration (CMREG) - Settings - Login Settings
What Are These Settings
The Login Settings control various aspects of the login process: what appears in the login form, where the user redirects to after they've logged in, and whether or not they can log in using Facebook among other things. It also offers ways to positively or negatively restrict Login permissions for users based on set criteria.
Accessing The Settings
From the WordPress dashboard navigate to CM Registration Pro → Settings → Login.
Access Restriction Content
Starting from version 2.6.8, it's possible to fully or partially restrict access to the website.
- Global Site Access - Choose between:
- Site accessible to everyone
- Site accessible to logged-in users
- Custom Redirect URL - If you restrict access to guest (logged out) users, they will be redirected to this address.
- Exclude the following URLs - Add exceptions if needed. Separate them by lines.
- Redirect after login to URL address - Specifies where the site user will be redirected after successfully logging in.
- %usernicename% - will be replaced by the username
- %userlogin% - will be replaced by the user login
- %usersitename% - will be replaced by the micro-site assigned to the user created.
For example, if the user's login is "tom123", for that user,
www.site.com/%userlogin% will become www.site.com/tom123
- Enable the "Remember me" option - Allows the Plugin to identify the site user in the future so that they don't have to go through the login process again.
- Log user last login date - Stores the moment when every user logged in for the last time. This information is shown:
You can use these inside the URL:
- With the shortcode
[cmreg-edit-profile]. Learn more: CM Registration (CMREG) - Shortcodes
- In the user management screen
Limit Login Attempts
Adds a layer of security for when users try to login with incorrect credentials too many times in a row.
- Action after user exceeds login attempts - Choose between:
- Show Captcha - Requires reCAPTCHA to be enabled (learn more).
- Let user wait - User will have to wait before attempting again.
- Number of attempts - After this many attempts, the action above will be triggered.
- Wait time [minutes] - How much time the user will have to wait before attempting to login again. Only works with the "Let user wait" setting.
Redirection Per Role
Other Settings That Affect Login
- Login user after successful email verification: If enabled, the user will logged-in automatically after verifying the email address.