mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
🤖 Auto commit for release 'develop' on 2025-10-05
This commit is contained in:
@@ -161,6 +161,7 @@ class UserRepository implements UserRepositoryInterface
|
||||
{
|
||||
/** @var null|Role $role */
|
||||
$role = $user->roles()->first();
|
||||
|
||||
return $role?->name;
|
||||
|
||||
}
|
||||
@@ -376,7 +377,6 @@ class UserRepository implements UserRepositoryInterface
|
||||
* This updates the users email address. Same as changeEmail just without most logging. This makes sure that the
|
||||
* undo/confirm routine can't catch this one. The user is NOT blocked.
|
||||
*
|
||||
*
|
||||
* @see changeEmail
|
||||
*/
|
||||
public function updateEmail(User $user, string $newEmail): bool
|
||||
|
Reference in New Issue
Block a user