google-authenticator icon indicating copy to clipboard operation
google-authenticator copied to clipboard

Undefined offset

Open claytoncollie opened this issue 2 years ago • 0 comments

Query Monitor flagged an undefined offset on line 221 in the main plugin file, google authenticator.php

Might just need to be changed to $user_role = $user->roles[0] ?? '';

image

claytoncollie avatar Oct 20 '22 14:10 claytoncollie