Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 237
    • Issues 237
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 34
    • Merge Requests 34
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Merge Requests
  • !351

Open
Opened 2 hours ago by Ben Hayward@benhayward.ben
  • Report abuse
Report abuse

[Sprint/OldfashionedOwl](feat): Reset password by CLI

Closes #921

Admin password for the sandboxes seemed to change. So that I can run it in the container with kubectl, I made a CLI controller for it.

If you want to test, you'll need to be set up with AWS and K8S.

kubectl get pods | grep cli-user-pw-reset

will yield the container name. Copy that name and run:

kubectl exec -it {{pod name}} sh

From there you just:

cd ../Minds/engine
php ./cli.php User password_reset --username={{username}} --password={{password}}

And try to login.

Alternatively pull locally, cd into your engine folder, and run the password_reset command.

Edited 2 hours ago by Ben Hayward

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b "feat/cli-user-pw-reset-921" "origin/feat/cli-user-pw-reset-921"

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "origin/master"
git merge --no-ff "feat/cli-user-pw-reset-921"

Step 4. Push the result of the merge to GitLab

git push origin "master"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

Request to merge feat/cli-user-pw-reset-921 into master
Open in Web IDE
  • Email patches
  • Plain diff
Pipeline #87122977 passed for 59dedddb on feat/cli-user-pw-reset-921
          Requires 3 more approvals from Devs, Deployers, and QA.
          Mark Harding
          Mark Harding
          Brian Hatchet
          Brian Hatchet
          Martin Santangelo
          Martin Santangelo
          Olivia Madrid
          Olivia Madrid
          Guy Thouret
          Guy Thouret
          Ready to be merged automatically. Ask someone with write access to this repository to merge this request

          Closes #921

          Deletes source branch

          • Discussion 0
          • Commits 2
          • Pipelines 2
          • Changes 1
          • Loading...
          • Ben Hayward @benhayward.ben added MR::Awaiting Review Squad::Yellow scoped labels 2 hours ago

            added MR::Awaiting Review Squad::Yellow scoped labels

          • Ben Hayward @benhayward.ben changed the description 2 hours ago

            changed the description

          • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
          Please register or sign in to reply
          0 Assignees
          None
          Assign to
          None
          Milestone
          None
          Assign milestone
          None
          Time tracking
          No estimate or time spent
          2
          Labels
          MR::Awaiting Review Squad::Yellow
          Assign labels
          • View project labels
          Lock merge request
          Unlocked
          10
          10 participants
          user avatar
          Mark Harding
          user avatar
          Brian Hatchet
          user avatar
          Martin Santangelo
          user avatar
          Olivia Madrid
          user avatar
          Guy Thouret
          user avatar
          Marcelo Rivera
          user avatar
          Rami Albatal
          Reference: minds/engine!351