Arno0x / TwoFactorAuth

Two Factor Authentication web portal written in PHP
130 stars 43 forks source link

Array and string offset access syntax with curly braces is deprecated #21

Open tayyebi opened 11 months ago

tayyebi commented 11 months ago

On line 113 $string .= $seed{intval( mt_rand( 0.0, $max ) )}; must change to $string .= $seed[intval( mt_rand( 0.0, $max ) )]; due to PHP 8.1 updates.