Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
monitoring
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cylab
monitoring
Commits
a4635dd2
Commit
a4635dd2
authored
1 year ago
by
Tibo
Browse files
Options
Downloads
Patches
Plain Diff
add APP_ALLOW_REGISTRATION configuration directive
parent
7132dc12
No related branches found
No related tags found
No related merge requests found
Pipeline
#12768
passed
1 year ago
Stage: test
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/app.php
+2
-0
2 additions, 0 deletions
config/app.php
routes/web.php
+1
-1
1 addition, 1 deletion
routes/web.php
with
3 additions
and
1 deletion
config/app.php
+
2
−
0
View file @
a4635dd2
...
...
@@ -14,6 +14,8 @@ return [
*/
'name'
=>
env
(
'APP_NAME'
,
'Monitoring'
),
'allow_registration'
=>
env
(
"APP_ALLOW_REGISTRATION"
,
true
),
'proxy'
=>
env
(
'PROXY'
,
null
),
...
...
This diff is collapsed.
Click to expand it.
routes/web.php
+
1
−
1
View file @
a4635dd2
...
...
@@ -24,7 +24,7 @@ Route::get('/', function () {
return
view
(
'index'
);
});
Auth
::
routes
();
Auth
::
routes
(
[
'register'
=>
config
(
"app.allow_registration"
)]
);
Route
::
get
(
"home"
,
function
()
{
return
redirect
(
action
(
"OrganizationController@index"
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment