Skip to content
Snippets Groups Projects
Commit fbd28459 authored by Andreas Parschalk's avatar Andreas Parschalk
Browse files

openolat#75: regular pw creation for adobeconnect user in compatibility mode

parent 33f8a5df
No related branches found
No related tags found
No related merge requests found
...@@ -548,9 +548,7 @@ public class AdobeConnectManagerImpl implements AdobeConnectManager, DeletableGr ...@@ -548,9 +548,7 @@ public class AdobeConnectManagerImpl implements AdobeConnectManager, DeletableGr
String creds = null; String creds = null;
if(aUser == null) { if(aUser == null) {
if(compatible) { if( compatible || getAdapter().isManagedPassword()) {
creds = Encoder.md5hash(identity.getName() + "@" + Settings.getApplicationName());
} else if(getAdapter().isManagedPassword()) {
creds = UUID.randomUUID().toString().replace("-", ""); creds = UUID.randomUUID().toString().replace("-", "");
if(creds.length() > 32) { if(creds.length() > 32) {
creds = creds.substring(0, 32); creds = creds.substring(0, 32);
......
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