Skip to main content
grammar
Source Link
nizz0k
  • 1.2k
  • 11
  • 36

So, I have to work on a D8 site I don't have a user account for. So, when I brought the code and database over to my local environment, I thought this would be an easy fix for drush.

My local dev environment is an Ubuntu server running on WSL, with php 7.2, and Drush version 8 I used the Drush ucrt and urol in the terminal, and both returned successes. I also had to temporarily deactivate the basic_auth service as the login pages weren't accessible after the move. Finally, when I tested the new user and password, it didn't work. I cleared the caches, re-set the password again, and then finally had the account blocked from too many failed attempts.

What's going on here? why didn't this work? and what do I do to make it work? I'd rather not add the user in Mysql, as I haven't seen a good tutorial for this.

So, I have to work on a D8 site I don't have a user account for. So, when I brought the code and database over to my local environment, I thought this would be an easy fix drush.

My local dev environment is an Ubuntu server running on WSL, with php 7.2, and Drush version 8 I used the Drush ucrt and urol in the terminal, and both returned successes. I also had to temporarily deactivate the basic_auth service as the login pages weren't accessible after the move. Finally, when I tested the new user and password, it didn't work. I cleared the caches, re-set the password again, and then finally had the account blocked from too many failed attempts.

What's going on here? why didn't this work? and what do I do to make it work? I'd rather not add the user in Mysql, as I haven't seen a good tutorial for this.

So, I have to work on a D8 site I don't have a user account for. So, when I brought the code and database over to my local environment, I thought this would be an easy fix for drush.

My local dev environment is an Ubuntu server running on WSL, with php 7.2, and Drush version 8 I used the Drush ucrt and urol in the terminal, and both returned successes. I also had to temporarily deactivate the basic_auth service as the login pages weren't accessible after the move. Finally, when I tested the new user and password, it didn't work. I cleared the caches, re-set the password again, and then finally had the account blocked from too many failed attempts.

What's going on here? why didn't this work? and what do I do to make it work? I'd rather not add the user in Mysql, as I haven't seen a good tutorial for this.

Source Link
nizz0k
  • 1.2k
  • 11
  • 36

User added with Drush not working

So, I have to work on a D8 site I don't have a user account for. So, when I brought the code and database over to my local environment, I thought this would be an easy fix drush.

My local dev environment is an Ubuntu server running on WSL, with php 7.2, and Drush version 8 I used the Drush ucrt and urol in the terminal, and both returned successes. I also had to temporarily deactivate the basic_auth service as the login pages weren't accessible after the move. Finally, when I tested the new user and password, it didn't work. I cleared the caches, re-set the password again, and then finally had the account blocked from too many failed attempts.

What's going on here? why didn't this work? and what do I do to make it work? I'd rather not add the user in Mysql, as I haven't seen a good tutorial for this.