sureshanaparti commented on PR #12585: URL: https://github.com/apache/cloudstack/pull/12585#issuecomment-3895901430
> @sureshanaparti as disscussed currently there is no exception message thrown when a ldap/saml user tries to click on forgot password > > logs > > ``` > 2026-02-11 08:14:13,377 DEBUG [c.c.a.ApiServlet] (qtp1390913202-353:[ctx-80c4b0bb]) (logid:1d4b29de) ===START=== 10.0.3.251 -- POST command=forgotPassword&response=json > 2026-02-11 08:14:13,381 DEBUG [c.c.a.ApiServlet] (qtp1390913202-353:[ctx-80c4b0bb]) (logid:1d4b29de) ===END=== 10.0.3.251 -- POST command=forgotPassword&response=json > > > 2026-02-11 08:14:13,828 DEBUG [c.c.a.ApiServlet] (qtp1390913202-19:[ctx-7af80760]) (logid:b89d08e9) ===START=== 10.0.3.251 -- GET command=forgotPassword&response=json > 2026-02-11 08:14:13,828 DEBUG [c.c.a.ApiServlet] (qtp1390913202-19:[ctx-7af80760]) (logid:b89d08e9) Authentication failure: null > 2026-02-11 08:14:13,829 DEBUG [c.c.a.ApiServlet] (qtp1390913202-19:[ctx-7af80760]) (logid:b89d08e9) ===END=== 10.0.3.251 -- GET command=forgotPassword&response=json > ``` @kiranchavala updated logs as discussed. This is usually logged when forgot password called without any username, to show/hide the ui button (when the feature in enabled/disabled respectively) - added check to not log it to avoid any confusion. `> 2026-02-11 08:14:13,828 DEBUG [c.c.a.ApiServlet] (qtp1390913202-19:[ctx-7af80760]) (logid:b89d08e9) Authentication failure: null` https://github.com/apache/cloudstack/blob/e22f842ed8df134397b18360c70e866c4af65ba2/ui/src/views/auth/Login.vue#L318-L326 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
