Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Commit

Permalink
Make verification code numeric instead of string
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarSoliman15 authored Mar 4, 2020
1 parent 8d65c93 commit 6856c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ResetPassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public function removeToken($token)
*/
protected function getCode()
{
return str_random(6);
return rand(100000, 999999);
}

/**
Expand Down

0 comments on commit 6856c15

Please sign in to comment.