New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: adds motd to the ui #27813
feat: adds motd to the ui #27813
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you manually test that this works for both the open source and enterprise version?
and should we be preserving the users first acknowledge
? so it doesn't keep popping up every time they log in?
- update MOTD to Motd - moved motd state to useLogin - added behaviour tests
… address motd warning
Tested in both oss and enterprise. enterprise PR here https://github.com/gravitational/teleport.e/pull/1654
I don't think we would want to preserve acknowledge state (even though UX wise, users may find it annoying). MOTDs are meant to be shown before each login. Admins may also update MOTD frequently. |
- add unmount test - remove motd title - group states together in useLogin - update arrow func to classic js func
Friendly ping for review please @ryanclark @zmb3 |
When MOTD is set, the message is shown before login screen (
tsh
does the same). User's are required to click confirmation button before transitioning to login screen.MOTD in teleport is configurable with
auth_service.message_of_the_day
inteleport.yaml
config. See docs for setup instruction: https://goteleport.com/docs/server-access/guides/ssh-pam/#display-a-message-of-the-day-motd-with-teleportCloses #13724