Skip to content

Instantly share code, notes, and snippets.

View ScarlettSamantha's full-sized avatar

Scarlett Samantha Verheul ScarlettSamantha

View GitHub Profile
@macdja38
macdja38 / Confirm-gitlab-email.md
Created July 26, 2018 20:14
Confirm gitlab email by CLI

On your gitlab server run gitlab-rails console production

Find your user via user = User.find_by(email: "[email protected]")

Optionally change the user's email with user.email = "[email protected]" Then run user.save!

Get the user's token with user.confirmation_token

https://PutYourGitlabHere/users/confirmation?confirmation_token=PutYourTokenHere