Skip to content

Commit 2c7be1b

Browse files
committed
Swap exit login / back to OSF and login again
1 parent ef1e48e commit 2c7be1b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/resources/templates/casInstitutionSsoFailedView.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
<h1 th:utext="#{screen.institutionssofailed.heading}"></h1>
2828
<p th:utext="#{screen.institutionssofailed.message}"></p>
2929
</section>
30-
<section class="form-button" th:with="loginUrl=@{${@casServerLoginUrl}(casRedirectSource=cas)}">
31-
<a class="mdc-button mdc-button--raised button-osf-blue" th:href="@{/logout(service=${loginUrl})}">
32-
<span class="mdc-button__label" th:utext="#{screen.error.page.loginagain}"></span>
30+
<section class="form-button">
31+
<a class="mdc-button mdc-button--raised button-osf-blue" th:href="@{/logout(service=${osfUrl.logout})}">
32+
<span class="mdc-button__label" th:utext="#{screen.authnerror.button.backtoosf}"></span>
3333
</a>
3434
</section>
3535
<hr class="my-4" />
36-
<section class="text-with-mdi">
37-
<span><a th:href="@{/logout(service=${osfUrl.logout})}" th:utext="#{screen.authnerror.button.backtoosf}"></a></span>
36+
<section class="text-with-mdi" th:with="loginUrl=@{${@casServerLoginUrl}(casRedirectSource=cas)}">
37+
<span><a th:href="@{/logout(service=${loginUrl})}" th:utext="#{screen.error.page.loginagain}"></a></span>
3838
</section>
3939
</section>
4040
</div>

0 commit comments

Comments
 (0)