Welcome to the OpenCities help centre. Search for what you're after, or browse the categories.
Can't find what you're looking for? Submit a support ticket and we'll be in touch.

Follow

Set up your Site Login module

avatar of OpenCities Product Team

OpenCities Product Team

Last updated

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.

a sign in page and a change password page

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:

site login pages in the site tree

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:

  1. Right-click in your site tree where you want to create your login page and select Create Page.
  2. Select OC Module Interface as the content type.
  3. 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.
  4. Add any content you need to the WYSIWYG Editors, then Publish the page.
  5. From the main menu, go to More > Site Management > your site > Settings > Log in.
    the Log in icon in Site Management
  6. 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.
    sign in process pages settings in site management
  7. 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.

password rules settings in site management

Here's how to do it:

  1. From the main menu, go to More > Site Management > your site > Settings > Log in.
  2. Under Password, select your password rules.
  3. 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.

  1. From the main menu, go to More > Users > Member Management.
  2. Select Create New User.
  3. Enter your new user's email address, then select Next.
  4. 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.
  5. In the Roles list, select OC Member.
  6. 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.

What next?

Was this article helpful?
2 out of 2 found this helpful