dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #43677
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 22139: User, variable name fix
------------------------------------------------------------
revno: 22139
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2016-03-04 11:12:52 +0100
message:
User, variable name fix
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/security/DefaultUserDetailsService.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/security/DefaultUserDetailsService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/security/DefaultUserDetailsService.java 2016-01-04 02:27:49 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/security/DefaultUserDetailsService.java 2016-03-04 10:12:52 +0000
@@ -82,11 +82,11 @@
}
}
- boolean credentialsExpired = userService.credentialsNonExpired( credentials );
+ boolean credentialsNonExpired = userService.credentialsNonExpired( credentials );
boolean enabled = !credentials.isDisabled() && !credentials.isExternalAuth();
return new User( credentials.getUsername(), credentials.getPassword(),
- enabled, true, credentialsExpired, true, SecurityUtils.getGrantedAuthorities( credentials ) );
+ enabled, true, credentialsNonExpired, true, SecurityUtils.getGrantedAuthorities( credentials ) );
}
}