785c74de52
Currently, if a user tries to confirm an invite sent to them on an account with a mismatching email address, we simply redirect to the org (where they get a 403). This change ensures they get the proper error response message, and restyles the error page to be nicer. Fixes #2227 Fixes https://www.pivotaltracker.com/story/show/136088507
18 lines
679 B
HTML
18 lines
679 B
HTML
<div class="confirm-invite">
|
|
<div class="cor-container signin-container">
|
|
<div class="row">
|
|
<div class="col-sm-6 col-sm-offset-3">
|
|
<div class="user-setup" ng-show="user.anonymous" redirect-url="redirectUrl"
|
|
invite-code="inviteCode">
|
|
</div>
|
|
<div class="cor-loader-inline" ng-show="!user.anonymous && loading"></div>
|
|
|
|
<div class="error-view-element" ng-show="!user.anonymous && invalid">
|
|
<h2><i class="fa fa-exclamation-triangle"></i> Confirmation Error</h2>
|
|
<h3>Confirmation code does not match this account</h3>
|
|
<div>{{ invalid }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|