Comments (5)
Hi @ptmkenny, what is the behavior you are expecting? This code is meant to remove the stored password hashes from the database and replace them with nearly unusable hashes. the purpose of this script is to prevent distribution of real users' password hashes.
It is conceivable that you could reverse engineer a usable password to enter for a user after this script ran, but that is not the intention. If you want to log in to a site after running this script you should run drush user-login
.
from quicksilver-examples.
@stevector Hmm, ok. I was expecting it to have similar behavior to drush sql-sanitize, which by default sets all user passwords to "password".
from quicksilver-examples.
@ptmkenny you could use drush sql-sanitize
as well. Here is an example of calling a drush command via Quicksilver: https://github.com/pantheon-systems/quicksilver-examples/blob/master/drush_revert_features/revert_all_features.php
This example was written before Quicksilver had the capacity to run Drush commands. Perhaps we should update this example to use Drush.
from quicksilver-examples.
@stevector Have you successfully used drush sql-sanitize on Pantheon? It blows up for me when I try it:
$ drush @MYSITE.dev sql-sanitize --sanitize-email=no
PTY allocation request failed on channel 0
Fatal error: Class 'Drupal' not found in /opt/pantheon/drush-8/commands/sql/sql.drush.inc on line 658
Ok
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Class 'Drupal' not found in
/opt/pantheon/drush-8/commands/sql/sql.drush.inc, line 658
from quicksilver-examples.
I am getting the same error. @greg-1-anderson, do you have thoughts on this question?
from quicksilver-examples.
Related Issues (20)
- Can sync_code detect a git tag creation? HOT 1
- URL Checker value always 1 HOT 1
- Slack Notifications don't work with multidev HOT 2
- undefined variable: deploy tag in new_relic_deploy.php script HOT 2
- Example of Programmatic Backup?
- New Relic API v2 HOT 3
- Example wanted: Post Solr schema after creating new multidev env with Drupal HOT 5
- [docs] Timeout 60 seconds
- Reducing secrets.json credential overlap or confusion
- Add curl timeout to New Relic API request, to prevent hung php worker / failed deploy workflow
- Edit readme to make it clearer
- Remove SpotBot VRT script
- False positive quicksilver status on passthru HOT 10
- Is it possible to setup database version ? HOT 2
- diffy.website integration is unnecessarily tedious HOT 1
- autopilot_vrt example
- Slack integration - correct script location
- Script path and 404 while running your Quicksilver operation HOT 2
- Copying example.pantheon.yml file may cause some error
- GitHub Action from GitHub App example
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quicksilver-examples.