mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-02 14:59:53 +08:00
- When user registers or resets, when running into policy errors, we don't send back an error, but instead a 200 (to indicate user has successfully registered/resetted) and a flag to determine if policy was enabled - Send back policy configurations for cluster config, this will allow the web UI login page to just display redirection messages without login attempts - For role configured policy, login attempts will be required and a specific error will be returned so that the UI can then better redirect the user