I am assuming that the login information for the authoring environment is stored in the Mongo db. I have logged into the db command mode to check for users using db.getUsers() and I am not seeing anything. I did switch to the adapt-tenant-master with the use command. Am I looking in the wrong place for the user login information?
Ok, got this working by finally getting Robomongo to access my server behind the firewall. Then following the instructions posted by other users to access the user account in the Mongo DB and duplicating it. Once this was done changing the obj id, uid, and pass.
Hi Mark,
How did you change your password? This is an encrypted string and I haven't figured out how to generate a new one. Did you?
If you can figure out what password encryption scheme is used you can encrypt it manually using the same method then simply insert it into the database.
I don't know if that's what's been done here but it's certainly a technique I've used before in instances where I've lost a Moodle admin password.
That's what I thought as well. But you indicate in your second post that you succeeded by changing also the password. So have you figured out which encryption adapt is using?
This is from an earlier post that describes it (Dennis):
"
We use bcrypt hashes for password storage, but the principle is the same.
I've created a simple script that will create a hash in the required format for you.
https://gist.github.com/dennis-learningpool/4a4a9c01017bc9640478
If you download that script and pop it into the root of your adapt_authoring project, you can then generate a hash with the command:
node passwordgen.js mypassword
The output hash string can then be added directly to the record via robomongo."