feat: adds motd to the ui#27813
Conversation
kimlisa
left a comment
There was a problem hiding this comment.
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 (
tshdoes 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_dayinteleport.yamlconfig. See docs for setup instruction: https://goteleport.com/docs/server-access/guides/ssh-pam/#display-a-message-of-the-day-motd-with-teleportCloses #13724