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
44571167
Commit
44571167
authored
Sep 28, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix nesting on sessions/new.
parent
1fd09260
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
app/views/devise/sessions/new.html.haml
app/views/devise/sessions/new.html.haml
+7
-8
spec/support/login_helpers.rb
spec/support/login_helpers.rb
+1
-1
No files found.
app/views/devise/sessions/new.html.haml
View file @
44571167
...
...
@@ -12,12 +12,11 @@
-
if
signin_enabled?
&&
signup_enabled?
=
render
'devise/shared/signup_box'
-
if
omniauth_enabled?
&&
devise_mapping
.
omniauthable?
&&
button_based_providers_enabled?
.clearfix
=
render
'devise/shared/omniauth_box'
-# Show a message if none of the mechanisms above are enabled
-
if
!
signin_enabled?
&&
!
ldap_enabled?
&&
!
(
omniauth_enabled?
&&
devise_mapping
.
omniauthable?
)
%div
No authentication methods configured.
-
if
omniauth_enabled?
&&
devise_mapping
.
omniauthable?
&&
button_based_providers_enabled?
.clearfix
=
render
'devise/shared/omniauth_box'
spec/support/login_helpers.rb
View file @
44571167
...
...
@@ -33,7 +33,7 @@ module LoginHelpers
fill_in
"user_login"
,
with:
user
.
email
fill_in
"user_password"
,
with:
"12345678"
check
'user_remember_me'
if
remember
first
(
'.login-box'
).
click_button
(
'Sign in'
)
click_button
"Sign in"
Thread
.
current
[
:current_user
]
=
user
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