liqingwang opened a new issue, #10507:
URL: https://github.com/apache/dolphinscheduler/issues/10507

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   Hi, guys. Recently, We have tried to enable LDAP on DS and found some 
questions that can improve.
   
   When you log in with LDAP. And there are still change password pages. But 
LDAP users have no password config. I think hiding this page when you log in 
with LDAP is better.
   
   I have finished the back-end part. When login will return 
`securityConfigType`, and now need front part support.
   
   
   
   
   ### Use case
   
   When login and return `securityConfigType` at `dolphinscheduler/login` api
   
   ```
   {
       "code": 0,
       "msg": "login success",
       "data": {
           "sessionId": "f4d710b7-bbae-4078-a574-de6358969615",
           "securityConfigType": "PASSWORD"
       },
       "success": true,
       "failed": false
   }
   ```
   
   Hide this btn when `securityConfigType` is `LDAP`
   
   <img width="389" alt="WeChatf7516bac11afebca0372e516cda659d8" 
src="https://user-images.githubusercontent.com/20885366/174530891-2109011a-7fcf-4adb-9938-deb2c2e60d64.png";>
   
   ### Related issues
   
   back-end part is https://github.com/apache/dolphinscheduler/pull/10502
   
   part of #10425 
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to