Skip to content

Commit

Permalink
♻️ refactored auth
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Feb 13, 2022
1 parent 0f92dad commit 211e28e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,9 @@ public static function login(array $credentials) {
*
* @return array null or all user info + tokens + session data
*/
public static function register(
array $credentials,
array $uniques = []
) {
public static function register(array $credentials, array $uniques = []) {
static::leafDbConnect();

$table = static::$settings['DB_TABLE'];
$passKey = static::$settings['PASSWORD_KEY'];

Expand Down

0 comments on commit 211e28e

Please sign in to comment.