About user messages
There are several types of user messages.
- Messages that appear on the sign in or sign out page
- Announcement banners, which appear at the top of every page
Note: If you are using SAML for authentication, the sign in page is presented by your identity provider and is not customizable via GitHub Enterprise Server.
You can use Markdown to format your message. For more information, see "About writing and formatting on GitHub."
Creating a custom sign in message
-
In the top-right corner of GitHub Enterprise Server, click your profile photo, then click Enterprise settings.
-
In the enterprise account sidebar, click Settings.
-
Under Settings, click Messages.
-
Under "Sign in page", click Add message or Edit message.
-
Under Sign in message, type the message you'd like users to see.
-
To see the rendered message, click Preview.
-
Review the rendered message.
-
At the bottom of the page, click Save changes.
Creating a custom sign out message
-
In the top-right corner of GitHub Enterprise Server, click your profile photo, then click Enterprise settings.
-
In the enterprise account sidebar, click Settings.
-
Under Settings, click Messages.
-
Under "Sign out page", click Add message or Edit message.
-
Under Sign out message, type the message you'd like users to see.
-
To see the rendered message, click Preview.
-
Review the rendered message.
-
At the bottom of the page, click Save changes.
Creating a global announcement banner
You can set a global announcement banner to be displayed to all users at the top of every page.
You can also set an announcement banner in the administrative shell using a command line utility. For more information, see "Command-line utilities."
-
In the top-right corner of GitHub Enterprise Server, click your profile photo, then click Enterprise settings.
-
In the enterprise account sidebar, click Settings.
-
Under Settings, click Messages.
-
Under "Announcement", click Add announcement.
-
Under "Announcement", in the text field, type the announcement you want displayed in a banner.
-
Optionally, under "Expires on", select the calendar drop-down menu and click an expiration date.
-
Optionally, to preview your message, click Preview.
-
Click Save changes.