mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-21 04:41:23 +08:00
My Account: Covered profile and auth pages with tests
This commit is contained in:
@ -161,7 +161,7 @@ class UserAccountController extends Controller
|
||||
*/
|
||||
public function showAuth(SocialAuthService $socialAuthService)
|
||||
{
|
||||
$mfaMethods = user()->mfaValues->groupBy('method');
|
||||
$mfaMethods = user()->mfaValues()->get()->groupBy('method');
|
||||
|
||||
$this->setPageTitle(trans('preferences.auth'));
|
||||
|
||||
|
Reference in New Issue
Block a user