Commander
Commander
712 views

Remove Create account link from Fortify Login Screen

Jump to solution

Hi Guys,

I need to remove the link "Can't access or need an account?" on the Fortify login screen.

Could you please let me know what i can change to make it invisible?

I tried changing \webapps\ssc\html\login\login.html like below,

- added this line in the login.html file, but that didn't work.

<style>a[href='#!/loginhelp'] { display: none !important }</style>

 

I am using Fortify 19.20

Thanks,

Nitin

0 Likes
1 Solution

Accepted Solutions
Vice Admiral Vice Admiral
Vice Admiral

If you wanted to simply remove the link entirely you could modify it from this:

<div class="trouble" ng-if="isEmailEnabled">
<a ui-sref="request" class="">{{'label.request_access'|i18n}}</a>
</div>

to this:

<div class="trouble" ng-if="isEmailEnabled"></div>

View solution in original post

0 Likes
5 Replies
Vice Admiral Vice Admiral
Vice Admiral

Hi Nitin,

You are definitely looking in the right direction, I also modified this link in our SSC installation

The file in question is that I modified (login.html) was located here:

<tomcat root>\webapps\ssc\html\login\views\partials\

 

0 Likes
Commander
Commander
Thanks rhelsens. But what needs to be updated here? As the earlier login.html file was different from this file.

WHere should i update this line into this?
<style>a[href='#!/loginhelp'] { display: none !important }</style>
0 Likes
Vice Admiral Vice Admiral
Vice Admiral

This is the HTML snippet which renders that link, modify it to your desire

<div class="trouble" ng-if="isEmailEnabled">
<a ui-sref="request" class="">{{'label.request_access'|i18n}}</a>
</div>

0 Likes
Vice Admiral Vice Admiral
Vice Admiral

If you wanted to simply remove the link entirely you could modify it from this:

<div class="trouble" ng-if="isEmailEnabled">
<a ui-sref="request" class="">{{'label.request_access'|i18n}}</a>
</div>

to this:

<div class="trouble" ng-if="isEmailEnabled"></div>

View solution in original post

0 Likes
Commander
Commander
Dear rhelsens,
Thanks much. I uncommented the middle line i.e. <a tag and restarted the tomcat service. The account creation link is gone.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.