vendor and env first commit
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Laravel\Fortify;
|
||||
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class RecoveryCode
|
||||
{
|
||||
/**
|
||||
* Generate a new recovery code.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function generate()
|
||||
{
|
||||
return Str::random(10).'-'.Str::random(10);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user