Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alt_login
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
project
alt_login
Commits
21eabae3
Commit
21eabae3
authored
2 years ago
by
Matthew Slater
Browse files
Options
Downloads
Patches
Plain Diff
added logger channel
parent
8e053a52
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
alt_login.module
+1
-1
1 addition, 1 deletion
alt_login.module
alt_login.services.yml
+6
-1
6 additions, 1 deletion
alt_login.services.yml
with
7 additions
and
2 deletions
alt_login.module
+
1
−
1
View file @
21eabae3
...
...
@@ -216,7 +216,7 @@ function alt_login_user_presave(UserInterface $account) {
}
$account
->
setUsername
(
$new_name
);
// Note that the the User RegisterForm logs user creation with another name.
\Drupal
::
logger
(
'
A
lt
L
ogin'
)
->
notice
(
'New user name set to '
.
$new_name
);
\Drupal
::
logger
(
'
a
lt
_l
ogin'
)
->
notice
(
'New user name set to '
.
$new_name
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
alt_login.services.yml
+
6
−
1
View file @
21eabae3
services
:
alt_login.method_manager
:
class
:
Drupal\alt_login\AltLoginMethodManager
arguments
:
[
'
@container.namespaces'
,
'
@module_handler'
,
'
@config.factory'
]
\ No newline at end of file
arguments
:
[
'
@container.namespaces'
,
'
@module_handler'
,
'
@config.factory'
]
logger.channel.alt_login
:
parent
:
logger.channel_base
arguments
:
[
'
Alt
Login'
]
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