Skip to content

Commit

Permalink
don't use protected response_type param; correct additional_params sp…
Browse files Browse the repository at this point in the history
…elling in function signature
  • Loading branch information
joshcanhelp committed Mar 8, 2018
1 parent 1dd2c03 commit 564a437
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Auth0/Login/Auth0Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ public function logout()
/**
* Redirects the user to the hosted login page
*/
public function login($connection = null, $state = null, $aditional_params = ['scope' => 'openid profile email'], $response_type = 'code')
public function login($connection = null, $state = null, $additional_params = ['scope' => 'openid profile email'], $response_type = 'code')
{
$this->auth0->response_type = $response_type;
$additional_params['response_type'] = $response_type;
$this->auth0->login($state, $connection, $additional_params);
}

Expand Down

0 comments on commit 564a437

Please sign in to comment.