##// END OF EJS Templates
merge
marcink -
r798:be15cc83 merge beta
parent child Browse files
Show More
@@ -82,8 +82,7 class AuthLdap(object):
82 server.protocol = ldap.VERSION3
82 server.protocol = ldap.VERSION3
83
83
84 if self.LDAP_BIND_DN and self.LDAP_BIND_PASS:
84 if self.LDAP_BIND_DN and self.LDAP_BIND_PASS:
85 login_dn = self.BASE_DN % {'user':uid}
85 server.simple_bind_s(self.LDAP_BIND_DN, self.LDAP_BIND_PASS)
86 server.simple_bind_s(login_dn, self.LDAP_BIND_PASS)
87
86
88 dn = self.BASE_DN % {'user':uid}
87 dn = self.BASE_DN % {'user':uid}
89 log.debug("Authenticating %r at %s", dn, self.LDAP_SERVER)
88 log.debug("Authenticating %r at %s", dn, self.LDAP_SERVER)
@@ -1405,7 +1405,7 overflow:hidden;
1405 border-top:1px solid #DDD;
1405 border-top:1px solid #DDD;
1406 text-align:left;
1406 text-align:left;
1407 margin:0;
1407 margin:0;
1408 padding:10px 0 0 114px;
1408 padding:10px 0 0 150px;
1409 }
1409 }
1410
1410
1411 #register div.form div.fields div.buttons div.highlight input.ui-state-default {
1411 #register div.form div.fields div.buttons div.highlight input.ui-state-default {
@@ -30,6 +30,7
30 <h5>${_('Dashboard')}
30 <h5>${_('Dashboard')}
31 <input class="top-right-rounded-corner top-left-rounded-corner bottom-left-rounded-corner bottom-right-rounded-corner" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
31 <input class="top-right-rounded-corner top-left-rounded-corner bottom-left-rounded-corner bottom-right-rounded-corner" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/>
32 </h5>
32 </h5>
33 %if c.rhodecode_user.username != 'default':
33 %if h.HasPermissionAny('hg.admin','hg.create.repository')():
34 %if h.HasPermissionAny('hg.admin','hg.create.repository')():
34 <ul class="links">
35 <ul class="links">
35 <li>
36 <li>
@@ -37,6 +38,7
37 </li>
38 </li>
38 </ul>
39 </ul>
39 %endif
40 %endif
41 %endif
40 </div>
42 </div>
41 <!-- end box / title -->
43 <!-- end box / title -->
42 <div class="table">
44 <div class="table">
General Comments 0
You need to be logged in to leave comments. Login now