mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-29 20:23:51 -06:00
This fixes #361
This commit is contained in:
parent
a8a8afc2be
commit
3c0c15103e
@ -29,7 +29,7 @@ class ConfirmedUser extends Event
|
|||||||
public $user;
|
public $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new event instance.
|
* Create a new event instance. This event is triggered when a user confirms their new account.
|
||||||
*
|
*
|
||||||
* @param User $user
|
* @param User $user
|
||||||
* @param string $ipAddress
|
* @param string $ipAddress
|
||||||
|
@ -29,7 +29,7 @@ class RegisteredUser extends Event
|
|||||||
public $user;
|
public $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new event instance.
|
* Create a new event instance. This event is triggered when a new user registers.
|
||||||
*
|
*
|
||||||
* @param User $user
|
* @param User $user
|
||||||
* @param string $ipAddress
|
* @param string $ipAddress
|
||||||
|
@ -29,7 +29,7 @@ class ResentConfirmation extends Event
|
|||||||
public $user;
|
public $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new event instance.
|
* Create a new event instance. This event is triggered when a users wants a new confirmation.
|
||||||
*
|
*
|
||||||
* @param User $user
|
* @param User $user
|
||||||
* @param string $ipAddress
|
* @param string $ipAddress
|
||||||
|
@ -76,7 +76,7 @@ class BudgetEventHandler
|
|||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function update(UpdatedBudgetLimit $event): bool
|
public function updateRepetition(UpdatedBudgetLimit $event): bool
|
||||||
{
|
{
|
||||||
$budgetLimit = $event->budgetLimit;
|
$budgetLimit = $event->budgetLimit;
|
||||||
$end = $event->end;
|
$end = $event->end;
|
||||||
|
@ -63,7 +63,7 @@ class UserEventHandler
|
|||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function onUserLogout(): bool
|
public function logoutUser(): bool
|
||||||
{
|
{
|
||||||
// dump stuff from the session:
|
// dump stuff from the session:
|
||||||
Session::forget('twofactor-authenticated');
|
Session::forget('twofactor-authenticated');
|
||||||
|
Loading…
Reference in New Issue
Block a user