Skip to content
Snippets Groups Projects
Commit 19bee52a authored by srosse's avatar srosse
Browse files

OO-4119: attributes can be null for REST calls

parent 26fdd9af
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ public class CourseNodePasswordManagerImpl implements CourseNodePasswordManager
Identity identity = identityEnv == null ? null : identityEnv.getIdentity();
String value;
if(identityEnv == null) {
if(identityEnv == null || identityEnv.getAttributes() == null) {// REST calls
value = null;
} else {
String key = generateKey(courseId, Long.valueOf(nodeIdent));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment