Clarity

  • 1.  Forgot Password - 15.2

    Posted Jul 31, 2017 10:26 AM

    Is there a way to remove Forgot Password button from 15.2 login screen? If yes, can someone please help me with a list of steps?

    Nika_Hadzhikidi



  • 2.  Re: Forgot Password - 15.2
    Best Answer

    Broadcom Employee
    Posted Jul 31, 2017 10:48 AM

    HI Augustin,

     

    The new UX is deployed as part of .WAR so below is the steps 

     

    1. Copy the PM.WAR from C:\PPM_HOME\tomcat-app-deploy\webapps

    2. Keep a back up and extract the PM.WAR using 7zip

    3. Once extracted search for login.html and it should be like in windows C:\pm\js\core\login

    4. Comment out the below lines 

     

    <div class="col-md-6" style="margin-right:0px; text-align: right;" >
    <a href="#changepassword" ng-if="isForgetPasswordLinkEnabled()" class="ppm-forgotpass-link" id="forgotpassword">
    <span translate="login.form.forgotpassword">Forgot Password</span>
    </a>
    </div>

     

    5. Package the PM.war and place it under C:\PPM_HOME\tomcat-app-deploy\webapps

     

    Doing this you will not see the Forgot password link.

     

    Disclaimer: This is not something CA Suggest you to do but as you are looking for customization, i have recommended the same. 

     

    Regards

    Suman Pramanik 



  • 3.  Re: Forgot Password - 15.2

    Posted Jul 31, 2017 02:05 PM

    Is that officially supported?



  • 4.  Re: Forgot Password - 15.2

    Broadcom Employee
    Posted Jul 31, 2017 02:50 PM

    No and hence I did put a disclaimer. Changing any file system is never a supported solution.

     

    Regards

    Suman Pramanik



  • 5.  Re: Forgot Password - 15.2

    Posted Aug 01, 2017 01:18 AM

    I will suggest to deploy war file to $Clarity_home\META-INF\uif\wars, Since deploy folder will be lost while redeploying services. 



  • 6.  Re: Forgot Password - 15.2

    Broadcom Employee
    Posted Aug 01, 2017 02:17 AM

    Thanks Prashank Singh, I missed out noting the same. 

     

    However these changes are termed as customization and if it interferes with product functionality we may ask to remove the same.

     

    Regards

    Suman Pramanik 



  • 7.  Re: Forgot Password - 15.2

    Posted Aug 01, 2017 09:54 AM

    Thanks a lot everyone for answering this. I will try this and let you all know how it goes.



  • 8.  Re: Forgot Password - 15.2

    Posted Aug 01, 2017 12:43 PM

    Unfortunately, our clients did not agree to change the WAR files. So I wont be able to test this. Anyways, thanks once again, everyone.



  • 9.  Re: Forgot Password - 15.2

    Posted Sep 12, 2017 08:46 AM

    Expect issue is that company, like us, is using external authorization.  Therefore, clicking on "Forgot Password" takes one through the CA PPM password change process which won't affect the external systems management of passwords.

     

    I see that once user provides their 'username' and clicks 'send email,' they receive an email which contains another link, that brings up another CA PPM window.

     

    Perhaps the email the user receives can contain content dependent on their settings:

    • If "External Authentication" is
      • unchecked, send user link to standard CA PPM password reset screen
      • checked, send user link to company's external authentication password reset screen

     

    Is this possible?



  • 10.  Re: Forgot Password - 15.2

    Broadcom Employee
    Posted Sep 12, 2017 08:50 AM

    Hi Dale,

     

    Completely agree the Forgot Password is not helpful for any external authentication. 

     

    Regards

    Suman Pramanik