mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-02 14:29:11 +02:00
parent
10a2ae0248
commit
ad8f5f5a0f
1 changed files with 8 additions and 0 deletions
|
|
@ -169,6 +169,14 @@ class AuthController extends MythAuthController
|
|||
$user->force_pass_reset = false;
|
||||
$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()
|
||||
->route('login')
|
||||
->with('message', lang('Auth.resetSuccess'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue