mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-10 21:31:20 +00:00
Fix #11337
This commit is contained in:
@@ -113,6 +113,8 @@ class ProfileController extends Controller
|
|||||||
throw new FireflyException('Invalid token.');
|
throw new FireflyException('Invalid token.');
|
||||||
}
|
}
|
||||||
$repository->unblockUser($user);
|
$repository->unblockUser($user);
|
||||||
|
// also remove the "remote_guard_alt_email" preference.
|
||||||
|
Preferences::delete('remote_guard_alt_email');
|
||||||
|
|
||||||
// return to log in.
|
// return to log in.
|
||||||
session()->flash('success', (string) trans('firefly.login_with_new_email'));
|
session()->flash('success', (string) trans('firefly.login_with_new_email'));
|
||||||
|
|||||||
Reference in New Issue
Block a user