mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
parent
10a2ae0248
commit
ad8f5f5a0f
@ -169,6 +169,14 @@ class AuthController extends MythAuthController
|
|||||||
$user->force_pass_reset = false;
|
$user->force_pass_reset = false;
|
||||||
$users->save($user);
|
$users->save($user);
|
||||||
|
|
||||||
|
helper('auth');
|
||||||
|
|
||||||
|
// set interact_as_actor_id value
|
||||||
|
$userPodcasts = $user->podcasts;
|
||||||
|
if ($userPodcasts = $user->podcasts) {
|
||||||
|
set_interact_as_actor($userPodcasts[0]->actor_id);
|
||||||
|
}
|
||||||
|
|
||||||
return redirect()
|
return redirect()
|
||||||
->route('login')
|
->route('login')
|
||||||
->with('message', lang('Auth.resetSuccess'));
|
->with('message', lang('Auth.resetSuccess'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user