Compare commits
2 Commits
b810e27480
...
9c4c5c2553
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c4c5c2553
|
||
|
|
8f819d12c0
|
@@ -7,7 +7,6 @@ module LdapManager
|
||||
|
||||
def call
|
||||
treebase = @ou ? "ou=#{@ou},cn=users,#{suffix}" : ldap_config["base"]
|
||||
puts treebase.inspect
|
||||
attributes = %w{ jpegPhoto }
|
||||
filter = Net::LDAP::Filter.eq("cn", @cn)
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
<section class="sm:flex-1 sm:pt-0">
|
||||
<h3>LDAP<h3>
|
||||
<p>
|
||||
<img src="data:image/png;base64,<%= @avatar %>" class="h-48 w-48" />
|
||||
<img src="data:image/jpeg;base64,<%= @avatar %>" class="h-48 w-48" />
|
||||
</p>
|
||||
<!-- <h3>Actions</h3> -->
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user