[TASK] Move emailAtLogin for BE Users in custom class 38/60838/9
authorBenni Mack <benni@typo3.org>
Wed, 29 May 2019 13:18:48 +0000 (15:18 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 7 Jun 2019 10:03:16 +0000 (12:03 +0200)
commit1948da9ab31dfe2d7195947148218fc5edd6258a
tree3429acd7db59d27dcbf160add10b065878f16d1b
parent7681e206dc9f0445538cebf50b43d29082f8053b
[TASK] Move emailAtLogin for BE Users in custom class

The fat BE User object needs a haircut, and the obvious
logic for sending out an email is moved out.

Resolves: #88454
Releases: master
Change-Id: Id009a975c1d4b75d17c8f5ec2ce06f384dda6e12
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60838
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/backend/Classes/Security/EmailLoginNotification.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Security/EmailLoginNotificationTest.php [new file with mode: 0644]
typo3/sysext/backend/ext_localconf.php
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php