When the Site Login module is installed, 2 pages will automatically be created on your site: a login page and a change password page. You can find these pages in the site tree and update them at any time.
If you accidentally delete these pages on your MyCity site or are using different login pages for any reason, you will need to link them in your Site Management settings. However, you cannot access the Site Login module in the Site Management settings of your Intranet, so don't delete your Intranet login pages.
After you've installed the Site Login module, these are the following 3 steps to finish setting up your password-protected site:
- How to update your login or change password pages
- How to set password rules
- How to add users to your password-protected site
Although MyCity sites also use the Site Login module, the instructions for editing these are slightly different. There are also a few more pages and options to choose from. Check out the MyCity module for more information.
Update your login or change password pages
If you need to replace the login or change password pages on your Mycity or subsite, you will need to update the Log in settings in Site Management. You can add introductory content to the pages' WYSIWYG Editors on your Intranet. For example, you might want to add instructions for logging in or new password requirements. First, we'll take you through creating a new login page:
- Right-click in your site tree where you want to create your login page and select Create Page.
- Select OC Module Interface as the content type.
- Choose the template you need from the Template Name dropdown menu. If you're creating a login page, select OC Site Login. If you're making a change password page, select OC Site Change password.
- Add any content you need to the WYSIWYG Editors, then Publish the page.
- From the main menu, go to More > Site Management > your site > Settings > Log in.
- Under Sign in process pages, assign your new pages to the Login and Change password fields. These fields are predictive, so start typing in the Page name of your new pages and select the correct result as it appears.
- Select Save Settings, then Save.
Set new password rules
In the Site Management settings, you can also change the rules that govern what users can choose for their password. You can set a character minimum and choose if passwords must contain numbers, uppercase and lowercase letters, and special characters.
Here's how to do it:
- From the main menu, go to More > Site Management > your site > Settings > Log in.
- Under Password, select your password rules.
- Select Save Settings, then Save.
These password rules will be visible on the change password page when users hover their cursor over the question mark icon. However, you may want to add these password requirements to the WYSIWYG Editor of the change password page.
Add users to your password-protected site
Before site visitors can start logging on and using your password-protected site, you need to add them as users. Once added, they will receive an email through which they can set their password.
Every user who needs access to a password-protected site needs the OC Member role.
- From the main menu, go to More > Users > Member Management.
- Select Create New User.
- Enter your new user's email address, then select Next.
- Enter additional user details and ensure that the Active box is checked. If this user is already in the system, these details will already be filled in.
- In the Roles list, select OC Member.
- When you're finished, select Save.
If you have a lot of users to add, you can also import them or use our External User Management module. After you've added your users, they will receive an email notification to complete their registration.