-
Run
gitlab-rails console
; -
Find the user:
user = User.User.find_by_username('username')
-
Look at the list of emails and find the one you want to confirm:
user.emails
-
Confirm it:
user.emails[1].confirm
Created
June 7, 2024 12:50
-
-
Save zmwangx/edc64e9f2437d61b22682ce09089ac96 to your computer and use it in GitHub Desktop.
Manually confirm user email with `gitlab-rails console`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment