File "RecoveryCode.php"
Full Path: /var/www/drive/laravel/fortify/src/RecoveryCode.php
File size: 271 bytes
MIME-type: text/x-php
Charset: utf-8
<?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);
}
}