Ensure all other error messages don't double up with the logout message

This commit is contained in:
beeankha 2019-01-29 13:09:28 -05:00
parent 5e3d47683d
commit ad3721bdb2

View File

@ -23,7 +23,7 @@
Your session timed out due to inactivity. Please sign in.
</div>
</div>
<div class="LoginModal-alert LoginModal-alert--error" ng-show="userLoggedOut && !sessionExpired">
<div class="LoginModal-alert LoginModal-alert--error" ng-show="userLoggedOut && !sessionExpired && !attemptFailed && !thirdPartyAttemptFailed && !sessionLimitExpired" translate>
<i class="LoginModal-alertIcon fa fa-exclamation-triangle"></i>
<div class="LoginModal-alertText" translate>
You have been logged out. Please sign in.