Disabling New Account Creation at Publisher Login
When logging in to the Publisher, non-registered users need to create a new account in order to log in. It is possible to enable or disable the option to create a new account. The login facility comes to the Publisher as an SSO application from the Enterprise Store. The sample theme that ships with the product can be customized by doing the customization in a sample directory and then specifying the theme in the jaggery.conf
file.Â
- Create a new folder with the theme name inside the
<sso-app-root>/views/themes
folder (for example, "sample"). - Add an entry to the
<sso-app-root>/jaggery.conf
file with "theme" as the key and "sample" as the value, as shown below:"theme":"sample"Â
Override the files in the
<sso-app-root>/views
folder with the relevant contents in the<sso-app-root>/views/themes/sample
folder. For example, you can override the original logo in the<sso-app-root>/views/images/logo.png
file with theÂ<sso-app-root>/views/themes/sample/images/logo.png
file.Note: Only the files inside the following folders are supported.
Â
<sso-app-root>/views/css/
<sso-app-root>/views/js/
<sso-app-root>/views/includes/
<sso-app-root>/views/images/
Â
- By default, the Create an account link is available.Â
 - Navigate to the
<GREG_HOME>/repository/deployment/server/jaggeryapps/sso
 directory and open thejaggery.conf
file. Add the"theme":"sample"
entry as mentioned above. - Open the
<GREG_HOME>/repository/deployment/server/jaggeryapps/ssoviews/themes/sample/includes/login_links.jag
file, remove the link and restart the server. - Go to the log in page. The Create an account link is disabled as shown below: