Fixed login success message not being displayed #15474
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes a small bug where the "Success: You have successfully logged in." message was not shown for non-admin users after login.
Before:
![message is not displayed on landing page](https://private-user-images.githubusercontent.com/1141514/365822076-3eacdac9-f7fe-4098-8010-3bfe7e0a3c1d.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDcxNzgsIm5iZiI6MTczODk0Njg3OCwicGF0aCI6Ii8xMTQxNTE0LzM2NTgyMjA3Ni0zZWFjZGFjOS1mN2ZlLTQwOTgtODAxMC0zYmZlN2UwYTNjMWQuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTY0NzU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2FhN2VjODJjMmU5ZmViNmJlNTVjNjIzNDk5ZjE0NDEyMmMyZjA2YjQ4YzQ0NmZlYjVjN2VmOGE2YTg2ZjI3MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.RbpNRTAL3AVdcAdCXZqwPmE4uzQk4Nyxhyn-8D811D0)
After:
![message is displayed on landing page](https://private-user-images.githubusercontent.com/1141514/365822095-a5b0d7c0-44e5-4c0d-9216-b104b48d7c85.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDcxNzgsIm5iZiI6MTczODk0Njg3OCwicGF0aCI6Ii8xMTQxNTE0LzM2NTgyMjA5NS1hNWIwZDdjMC00NGU1LTRjMGQtOTIxNi1iMTA0YjQ4ZDdjODUuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTY0NzU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTk4YWEwMDViYmQzODVjNTk4N2FiYjFlZWRjYjA4MTc1NGQ0YmQ1ZjYwZTZkZTNiOGMyNGQ1ZDk0OTZhMzdkMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.7TqvTtsEdb2IMCIYvMeE27ntah5gAQJKVuv4Gu2jacM)
Fixes [sc-26730]
Type of change