Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
ldap
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
ldap
Commits
af1c0c89
Commit
af1c0c89
authored
1 year ago
by
Vishal Choudhary
Committed by
Steven Ayers
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3368890
by Vishal Choudhary, bluegeek9: Unable to change admin user password
parent
fa2a7b1e
No related branches found
No related tags found
1 merge request
!36
Issue #3368890: Unable to change admin user password
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ldap_authentication/src/Controller/LoginValidatorLoginForm.php
+2
-1
2 additions, 1 deletion
...authentication/src/Controller/LoginValidatorLoginForm.php
with
2 additions
and
1 deletion
ldap_authentication/src/Controller/LoginValidatorLoginForm.php
+
2
−
1
View file @
af1c0c89
...
...
@@ -200,7 +200,8 @@ class LoginValidatorLoginForm extends LoginValidatorBase {
*/
public
function
validateCredentialsLoggedIn
(
UserInterface
$account
):
int
{
$this
->
drupalUser
=
$account
;
$data
=
$this
->
externalAuth
->
getAuthData
((
int
)
$account
->
id
(),
'ldap_user'
);
$user_id
=
(
int
)
$account
->
id
();
$data
=
$this
->
externalAuth
->
getAuthData
(
$user_id
,
'ldap_user'
);
if
(
!
empty
(
$data
)
&&
$data
[
'authname'
])
{
$this
->
authName
=
$data
[
'authname'
];
$this
->
drupalUserAuthMapped
=
TRUE
;
...
...
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