Skip to content

Commit d271320

Browse files
Vladimir Kotalahornace
andcommitted
Update plugins/src/main/java/opengrok/auth/plugin/LdapAttrPlugin.java
Co-authored-by: Adam Hornáček <[email protected]>
1 parent 268d023 commit d271320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/src/main/java/opengrok/auth/plugin/LdapAttrPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ String getSessionAllowedAttrName() {
128128
public void fillSession(HttpServletRequest req, User user) {
129129
updateSession(req, false);
130130

131-
LdapUser ldapUser = (LdapUser) req.getSession(). getAttribute(LdapUserPlugin.getSessionAttrName(ldapUserInstance));
131+
LdapUser ldapUser = (LdapUser) req.getSession().getAttribute(LdapUserPlugin.getSessionAttrName(ldapUserInstance));
132132
if (ldapUser == null) {
133133
LOGGER.log(Level.WARNING, "cannot get {0} attribute from {1}",
134134
new Object[]{LdapUserPlugin.SESSION_ATTR, user});

0 commit comments

Comments
 (0)