Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
Maurice Courtois
vtigercrm
Commits
3ae9e36a
Commit
3ae9e36a
authored
7 years ago
by
Prasad
Browse files
Options
Downloads
Patches
Plain Diff
Fixes #856: Removed stale code
parent
e7d1b7ac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Users/Authenticate.php
+1
-14
1 addition, 14 deletions
modules/Users/Authenticate.php
with
1 addition
and
14 deletions
modules/Users/Authenticate.php
+
1
−
14
View file @
3ae9e36a
...
...
@@ -39,19 +39,6 @@ $successURL = 'index.php';
if
(
$focus
->
is_authenticated
())
{
session_regenerate_id
();
//Inserting entries for audit trail during login
$audit_trail
=
'false'
;
if
(
$audit_trail
==
'true'
)
{
if
(
$record
==
''
)
$auditrecord
=
''
;
else
$auditrecord
=
$record
;
$date_var
=
$adb
->
formatDate
(
date
(
'Y-m-d H:i:s'
),
true
);
$query
=
"insert into vtiger_audit_trial values(?,?,?,?,?,?)"
;
$params
=
array
(
$adb
->
getUniqueID
(
'vtiger_audit_trial'
),
$focus
->
id
,
'Users'
,
'Authenticate'
,
''
,
$date_var
);
$adb
->
pquery
(
$query
,
$params
);
}
require_once
(
'modules/Users/LoginHistory.php'
);
// Recording the login info
...
...
@@ -165,4 +152,4 @@ if($focus->is_authenticated()) {
header
(
"Location: index.php"
);
}
?>
\ No newline at end of file
?>
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