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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
25ff3fd5
Commit
25ff3fd5
authored
May 10, 2016
by
Andrei Gliga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
button_based_providers.any? instead of !button_based_providers.empty?
parent
ab7f9c9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/views/admin/application_settings/_form.html.haml
app/views/admin/application_settings/_form.html.haml
+1
-1
No files found.
app/views/admin/application_settings/_form.html.haml
View file @
25ff3fd5
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
=
f
.
label
:signin_enabled
do
=
f
.
label
:signin_enabled
do
=
f
.
check_box
:signin_enabled
=
f
.
check_box
:signin_enabled
Sign-in enabled
Sign-in enabled
-
if
omniauth_enabled?
&&
!
button_based_providers
.
empt
y?
-
if
omniauth_enabled?
&&
button_based_providers
.
an
y?
.form-group
.form-group
=
f
.
label
:enabled_oauth_sign_in_sources
,
'Enabled OAuth Sign-In sources'
,
class:
'control-label col-sm-2'
=
f
.
label
:enabled_oauth_sign_in_sources
,
'Enabled OAuth Sign-In sources'
,
class:
'control-label col-sm-2'
.col-sm-10
.col-sm-10
...
...
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