Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GLPI
glpi
Commits
b7654846
Commit
b7654846
authored
Jan 26, 2021
by
Johan Cwiklinski
Browse files
Merge branch '9.5/bugfixes'
parents
7c5a83af
90d34a14
Changes
1
Hide whitespace changes
Inline
Side-by-side
inc/auth.class.php
View file @
b7654846
...
...
@@ -920,6 +920,9 @@ class Auth extends CommonGLPI {
// Then ensure addslashes
$input
=
Toolbox
::
addslashes_deep
(
$input
);
unset
(
$this
->
user
->
fields
);
if
(
$authtype
==
self
::
EXTERNAL
&&
!
isset
(
$input
[
"authtype"
]))
{
$input
[
"authtype"
]
=
$authtype
;
}
$this
->
user
->
add
(
$input
);
}
else
{
// Auto add not enable so auth failed
...
...
Write
Preview
Supports
Markdown
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