-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
actingAs cause 201, instead of 200 #92
Comments
@michaelnguyen547 Are you using the |
yes I am
protected function signInAsUser($passenger = null)
{
$user = $user ?: factory('App\User')->create();
PassportMultiauth::actingAs($user);
return $user;
}
…On Fri, Jun 14, 2019 at 9:16 AM Samuel Martins ***@***.***> wrote:
@michaelnguyen547 <https://github.com/michaelnguyen547> Are you using the
PassportMultiauth::actingAs() like docs
<https://github.com/sfelix-martins/passport-multiauth#unit-tests> example?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#92?email_source=notifications&email_token=AADKVVTPDB3TGT5FDFCP4S3P2OY5FA5CNFSM4HYD4HTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXXC7HI#issuecomment-502149021>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADKVVTUIJHFDHQJQXRRFUTP2OY5FANCNFSM4HYD4HTA>
.
|
sorry to bother you, I can't get the v4.1. I have |
@michaelnguyen547 Please, check it again. I updated on packagist. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please refer to this issue @ laravel/framework#25873. The issue has been fixed in L5.7. I am using L5.8 and still have this issue, so my guess is it has to do with
passport-multiauth
plugin?The text was updated successfully, but these errors were encountered: