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
0f7dcec2
Commit
0f7dcec2
authored
Mar 12, 2021
by
Serena Fang
Committed by
Stan Hu
Mar 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change inconsistent capitalization
Use sentence case instead
parent
f49ec613
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
10 deletions
+7
-10
app/controllers/concerns/authenticates_with_two_factor.rb
app/controllers/concerns/authenticates_with_two_factor.rb
+1
-1
locale/gitlab.pot
locale/gitlab.pot
+0
-3
qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb
...specs/features/browser_ui/1_manage/login/register_spec.rb
+1
-1
spec/controllers/sessions_controller_spec.rb
spec/controllers/sessions_controller_spec.rb
+2
-2
spec/features/users/anonymous_sessions_spec.rb
spec/features/users/anonymous_sessions_spec.rb
+1
-1
spec/features/users/login_spec.rb
spec/features/users/login_spec.rb
+2
-2
No files found.
app/controllers/concerns/authenticates_with_two_factor.rb
View file @
0f7dcec2
...
...
@@ -70,7 +70,7 @@ module AuthenticatesWithTwoFactor
elsif
!
user
.
confirmed?
I18n
.
t
(
'devise.failure.unconfirmed'
)
else
_
(
'Invalid
L
ogin or password'
)
_
(
'Invalid
l
ogin or password'
)
end
end
...
...
locale/gitlab.pot
View file @
0f7dcec2
...
...
@@ -16650,9 +16650,6 @@ msgstr ""
msgid "Invalid Insights config file detected"
msgstr ""
msgid "Invalid Login or password"
msgstr ""
msgid "Invalid OS"
msgstr ""
...
...
qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb
View file @
0f7dcec2
...
...
@@ -71,7 +71,7 @@ module QA
Flow
::
Login
.
sign_in
(
as:
user
,
skip_page_validation:
true
)
expect
(
page
).
to
have_text
(
"Invalid
L
ogin or password"
)
expect
(
page
).
to
have_text
(
"Invalid
l
ogin or password"
)
@recreated_user
=
Resource
::
User
.
fabricate_via_browser_ui!
do
|
resource
|
resource
.
name
=
user
.
name
...
...
spec/controllers/sessions_controller_spec.rb
View file @
0f7dcec2
...
...
@@ -86,7 +86,7 @@ RSpec.describe SessionsController do
post
(
:create
,
params:
{
user:
{
login:
'invalid'
,
password:
'invalid'
}
})
expect
(
response
)
.
to
set_flash
.
now
[
:alert
].
to
(
/Invalid
L
ogin or password/
)
.
to
set_flash
.
now
[
:alert
].
to
(
/Invalid
l
ogin or password/
)
end
end
...
...
@@ -348,7 +348,7 @@ RSpec.describe SessionsController do
otp_user_id:
user
.
id
)
expect
(
response
).
to
set_flash
.
now
[
:alert
].
to
(
/Invalid
L
ogin or password/
)
expect
(
response
).
to
set_flash
.
now
[
:alert
].
to
(
/Invalid
l
ogin or password/
)
end
end
...
...
spec/features/users/anonymous_sessions_spec.rb
View file @
0f7dcec2
...
...
@@ -10,7 +10,7 @@ RSpec.describe 'Session TTLs', :clean_gitlab_redis_shared_state do
fill_in
'user_password'
,
with:
'12345678'
click_button
'Sign in'
expect
(
page
).
to
have_content
(
'Invalid
L
ogin or password'
)
expect
(
page
).
to
have_content
(
'Invalid
l
ogin or password'
)
expect_single_session_with_expiration
(
Settings
.
gitlab
[
'unauthenticated_session_expire_delay'
])
end
...
...
spec/features/users/login_spec.rb
View file @
0f7dcec2
...
...
@@ -138,7 +138,7 @@ RSpec.describe 'Login' do
gitlab_sign_in
(
User
.
ghost
)
expect
(
page
).
to
have_content
(
'Invalid
L
ogin or password.'
)
expect
(
page
).
to
have_content
(
'Invalid
l
ogin or password.'
)
end
it
'does not update Devise trackable attributes'
,
:clean_gitlab_redis_shared_state
do
...
...
@@ -406,7 +406,7 @@ RSpec.describe 'Login' do
gitlab_sign_in
(
user
)
expect
(
page
).
to
have_content
(
'Invalid
L
ogin or password.'
)
expect
(
page
).
to
have_content
(
'Invalid
l
ogin or password.'
)
end
end
end
...
...
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