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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
faab452a
Commit
faab452a
authored
Sep 27, 2014
by
Ciro Santilli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded password_confirmation from seed.
parent
c8bb1716
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
3 deletions
+0
-3
db/fixtures/development/01_admin.rb
db/fixtures/development/01_admin.rb
+0
-1
db/fixtures/production/001_admin.rb
db/fixtures/production/001_admin.rb
+0
-1
spec/factories.rb
spec/factories.rb
+0
-1
No files found.
db/fixtures/development/01_admin.rb
View file @
faab452a
...
...
@@ -5,7 +5,6 @@ Gitlab::Seeder.quiet do
s
.
email
=
'admin@example.com'
s
.
username
=
'root'
s
.
password
=
'5iveL!fe'
s
.
password_confirmation
=
'5iveL!fe'
s
.
admin
=
true
s
.
projects_limit
=
100
s
.
confirmed_at
=
DateTime
.
now
...
...
db/fixtures/production/001_admin.rb
View file @
faab452a
...
...
@@ -11,7 +11,6 @@ admin = User.create(
name:
"Administrator"
,
username:
'root'
,
password:
password
,
password_confirmation:
password
,
password_expires_at:
expire_time
,
theme_id:
Gitlab
::
Theme
::
MARS
...
...
spec/factories.rb
View file @
faab452a
...
...
@@ -20,7 +20,6 @@ FactoryGirl.define do
name
sequence
(
:username
)
{
|
n
|
"
#{
Faker
::
Internet
.
user_name
}#{
n
}
"
}
password
"12345678"
password_confirmation
{
password
}
confirmed_at
{
Time
.
now
}
confirmation_token
{
nil
}
...
...
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