Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
93a0b8e7
Commit
93a0b8e7
authored
Apr 25, 2021
by
Jim Cser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial commit
parent
8a31f66b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/security/reset_user_password.md
doc/security/reset_user_password.md
+4
-4
No files found.
doc/security/reset_user_password.md
View file @
93a0b8e7
...
...
@@ -20,8 +20,8 @@ which can be invoked by the following command:
sudo
gitlab-rake
"gitlab:password:reset"
```
You will be asked for username, password, and
password confirmation. Upon giving
proper values for them, the password of the specified user
will be
updated.
GitLab asks for a username, a password, and a
password confirmation. Upon giving
proper values for them, the password of the specified user
is
updated.
The Rake task also takes the username as an argument, as shown in the example
below:
...
...
@@ -91,7 +91,7 @@ Try fixing this on the rails console. For example, if your new `root` password i
1.
[
Start a Rails console
](
../administration/operations/rails_console.md
)
.
1.
Find the user and skip reconfirmation
. Any of the methods to find the user, above, will work
:
1.
Find the user and skip reconfirmation
, using any of the methods above
:
```ruby
user = User.find(1)
...
...
@@ -110,7 +110,7 @@ password.
If the username was changed to something else and has been forgotten, one
possible way is to reset the password using Rails console with user ID
`1`
(in
almost all the cases, the first user
will be
the default admin account).
almost all the cases, the first user
is
the default admin account).
<!-- ## Troubleshooting
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment