Add LDAP logins and password resets, config, etc.

This commit is contained in:
2020-11-10 11:36:06 +01:00
parent 5e6a7cabd6
commit 674b0a0ff5
40 changed files with 988 additions and 7 deletions

View File

@@ -10,6 +10,17 @@
</head>
<body>
<h1>Kosmos Accounts</h1>
<% if user_signed_in? %>
<p>
Signed in as <strong><%= current_user.cn %>@kosmos.org</strong>.
<%= link_to "Log out", destroy_user_session_path, method: :delete %>
</p>
<% flash.each do |type, msg| %>
<p><%= msg %></p>
<% end %>
<% end %>
<%= yield %>
</body>
</html>