File tree 1 file changed +11
-9
lines changed
1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 852
852
if (!empty ($ thisAuthSource ['login ' ]) && file_exists ($ thisAuthSource ['login ' ])) {
853
853
include_once $ thisAuthSource ['login ' ];
854
854
}
855
- if (isset ($ thisAuthSource ['newUser ' ]) && file_exists ($ thisAuthSource ['newUser ' ])) {
856
- include_once $ thisAuthSource ['newUser ' ];
857
- } else {
858
- error_log (
859
- 'Chamilo Authentication external file ' .
860
- ' could not be found - this might prevent your system from using ' .
861
- ' the authentication process in the user creation process ' ,
862
- 0
863
- );
855
+ if (isset ($ thisAuthSource ['newUser ' ])) {
856
+ if (file_exists ($ thisAuthSource ['newUser ' ])) {
857
+ include_once $ thisAuthSource ['newUser ' ];
858
+ } else {
859
+ error_log (
860
+ 'Chamilo Authentication external file ' .
861
+ ' could not be found - this might prevent your system from using ' .
862
+ ' the authentication process in the user creation process ' ,
863
+ 0
864
+ );
865
+ }
864
866
}
865
867
}
866
868
} //end if is_array($extAuthSource)
You can’t perform that action at this time.
0 commit comments