BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
c74a0be9
Commit
c74a0be9
authored
May 08, 2015
by
Job van der Voort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make it more obvious what happens in the code
parent
83c5aa68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
reset_root_password.md
doc/security/reset_root_password.md
+5
-4
No files found.
doc/security/reset_root_password.md
View file @
c74a0be9
...
...
@@ -13,7 +13,7 @@ Wait until the console has loaded.
There are multiple ways to find your user. You can search for email or username.
```
bash
irb
(
main
)
:001:0> u
=
User.where
(
id
: 1
)
.first
user
=
User.where
(
id
: 1
)
.first
```
or
...
...
@@ -25,8 +25,8 @@ user = User.find_by(email: 'admin@local.host')
Now you can change your password:
```
bash
u.password
=
'secret_pass'
u.password_confirmation
=
'secret_pass'
u
ser
.password
=
'secret_pass'
u
ser
.password_confirmation
=
'secret_pass'
```
It's important that you change both password and password_confirmation to make it work.
...
...
@@ -34,7 +34,7 @@ It's important that you change both password and password_confirmation to make i
Don't forget to save the changes.
```
bash
u.save!
u
ser
.save!
```
Exit the console and try to login with your new password.
\ No newline at end of file
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