Project

General

Profile

Actions

Bug #98237

closed

Backend Logins not beeing writtin into log

Added by Katharina Strasser over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Authentication
Target version:
-
Start date:
2022-09-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello,

if a Backend-User performs a successful login, no log-data is written to the sys_log table.

Logouts are written into the database, but not logins.


Files

image.png (76.6 KB) image.png Susanne Moog, 2022-09-06 16:17
Actions #1

Updated by Katharina Strasser over 1 year ago

I've tested it.

$this->writelog(SystemLogType::LOGIN, SystemLogLoginAction::LOGIN, SystemLogErrorClassification::MESSAGE, 1, 'User %s logged in from ###IP###', [$tempuser[$this->username_column]], '', '', '');

in typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php

Is not triggerd by a backend-login.

Edit: its not triggered if an MFA is used

Actions #2

Updated by Markus Klein over 1 year ago

  • Category changed from Logging to Authentication
Actions #3

Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75617

Actions #4

Updated by Susanne Moog over 1 year ago

After the patch is applied:

Actions #5

Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75617

Actions #6

Updated by Susanne Moog over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Gerrit Code Review over 1 year ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75863

Actions #8

Updated by Susanne Moog over 1 year ago

  • Status changed from Under Review to Resolved
Actions #9

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF