Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
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
Monitor
Service Desk
Analyze
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
TeDomum
Nextcloud
Commits
9b045438
Commit
9b045438
authored
11 years ago
by
Axel Roenn
Browse files
Options
Downloads
Patches
Plain Diff
changed the argument to false for getValue , reformated else statement
parent
08a04357
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/base.php
+2
-3
2 additions, 3 deletions
lib/base.php
with
2 additions
and
3 deletions
lib/base.php
+
2
−
3
View file @
9b045438
...
...
@@ -730,11 +730,10 @@ class OC {
// Someone wants to log in :
}
elseif
(
OC
::
tryFormLogin
())
{
$error
[]
=
'invalidpassword'
;
if
(
OC_Config
::
getValue
(
'log_authfailip'
,
''
)
)
{
if
(
OC_Config
::
getValue
(
'log_authfailip'
,
false
)
)
{
OC_Log
::
write
(
'core'
,
'Login failed: user \''
.
$_POST
[
"user"
]
.
'\' , wrong password, IP:'
.
$_SERVER
[
'REMOTE_ADDR'
],
OC_Log
::
WARN
);
}
else
{
}
else
{
OC_Log
::
write
(
'core'
,
'Login failed: user \''
.
$_POST
[
"user"
]
.
'\' , wrong password, IP:set log_authfailip=true in conf'
,
OC_Log
::
WARN
);
}
...
...
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