Skip to content

Tow step verification feature#34

Merged
armanist merged 2 commits into
quantum-php:masterfrom
ManukyanArtak:master
Feb 8, 2021
Merged

Tow step verification feature#34
armanist merged 2 commits into
quantum-php:masterfrom
ManukyanArtak:master

Conversation

@ManukyanArtak

Copy link
Copy Markdown
Contributor

No description provided.

@armanist armanist self-requested a review February 5, 2021 10:14
/**
* Sign In
*
* @param Mailer $mailer

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The type Quantum\Libraries\Auth\Mailer was not found.

Comment thread src/Libraries/Auth/ApiAuth.php Outdated
throw new AuthException(ExceptionMessages::INACTIVE_ACCOUNT);
}

if (config()->get('tow_step_verification')) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type: tow_step_verification, should be two_step_verification

* @throws AuthException
*/
public function signin($username, $password, $remember = false)
public function signin($mailer, $username, $password, $remember = false)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$mailer parameter not declared

Comment thread src/Libraries/Auth/WebAuth.php Outdated
$this->setRememberToken($user);
}

if (config()->get('tow_step_verification')) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Comment thread tests/unit/Helpers/HelperTest.php Outdated
$this->session = new Session($this->sessionData, $cryptor);
}

public function testMiscHelper()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the name testRandomNumber

@armanist armanist merged commit abbd862 into quantum-php:master Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants