mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-09 08:29:36 +00:00
Fix #11337
This commit is contained in:
@@ -113,6 +113,8 @@ class ProfileController extends Controller
|
||||
throw new FireflyException('Invalid token.');
|
||||
}
|
||||
$repository->unblockUser($user);
|
||||
// also remove the "remote_guard_alt_email" preference.
|
||||
Preferences::delete('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