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
ccd1bb75
Commit
ccd1bb75
authored
Mar 30, 2022
by
Paul Gascou-Vaillancourt
Committed by
Paul Gascou-Vaillancourt
Mar 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extract Arkose public key from app settings
parent
fc462bbc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ee/app/controllers/ee/sessions_controller.rb
ee/app/controllers/ee/sessions_controller.rb
+1
-1
No files found.
ee/app/controllers/ee/sessions_controller.rb
View file @
ccd1bb75
...
@@ -24,7 +24,7 @@ module EE
...
@@ -24,7 +24,7 @@ module EE
redirect_to
oauth_geo_auth_url
(
host:
current_node_uri
.
host
,
port:
current_node_uri
.
port
,
state:
state
)
redirect_to
oauth_geo_auth_url
(
host:
current_node_uri
.
host
,
port:
current_node_uri
.
port
,
state:
state
)
else
else
if
::
Feature
.
enabled?
(
:arkose_labs_login_challenge
)
if
::
Feature
.
enabled?
(
:arkose_labs_login_challenge
)
@arkose_labs_public_key
||=
ENV
[
'ARKOSE_LABS_PUBLIC_KEY
'
]
# rubocop:disable Gitlab/ModuleWithInstanceVariables
@arkose_labs_public_key
||=
Settings
.
arkose
[
'public_key
'
]
# rubocop:disable Gitlab/ModuleWithInstanceVariables
end
end
super
super
...
...
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