Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logout error #235

Open
Keeehi opened this issue Dec 10, 2014 · 1 comment
Open

Logout error #235

Keeehi opened this issue Dec 10, 2014 · 1 comment

Comments

@Keeehi
Copy link

Keeehi commented Dec 10, 2014

For logout url like this:
https://accounts.example.cz/logout?url=http%3A%2F%2Fgoogle.com

I am getting error, that file lib/casserver/views/logout.erb is missing

@ronald
Copy link

ronald commented Oct 7, 2019

Place the following code in lib/casserver/views/logout.erb

<%# coding: UTF-8 -%>
<table id="login-box">
  <tr>
    <td colspan="2">
      <div id="headline-container">
        <strong><%= escape_html @organization %></strong>
        <%= t.label.central_login_title %>
      </div>
    </td>
  </tr>

  <% if @message %>
  <tr>
    <td colspan="2" id="messagebox-container">
      <div class="messagebox <%= escape_html @message[:type] %>">
        <%= escape_html @message[:message] %>
        <a href="<%=escape_html @continue_url %>"><%= escape_html @continue_url %></a>
      </div>
    </td>
  </tr>
  <% end %>
</table>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants