mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-02-11 22:35:13 +00:00
Fix issue with email change.
This commit is contained in:
@@ -152,7 +152,7 @@ class ProfileController extends Controller
|
||||
}
|
||||
$repository->unblockUser($user);
|
||||
// also remove the "remote_guard_alt_email" preference.
|
||||
Preferences::delete('remote_guard_alt_email');
|
||||
Preferences::deleteForUser($user, 'remote_guard_alt_email');
|
||||
|
||||
// return to log in.
|
||||
session()->flash('success', (string) trans('firefly.login_with_new_email'));
|
||||
|
||||
Reference in New Issue
Block a user