Check where consistency

This commit is contained in:
James Brooks
2016-10-19 12:29:47 +01:00
parent 468b2a0b7a
commit 67b09af833
11 changed files with 14 additions and 16 deletions

View File

@@ -200,7 +200,7 @@ class SettingsController extends Controller
{
$this->subMenu['security']['active'] = true;
$unsecureUsers = User::whereNull('google_2fa_secret')->orWhere('google_2fa_secret', '')->get();
$unsecureUsers = User::whereNull('google_2fa_secret')->orWhere('google_2fa_secret', '=', '')->get();
Session::flash('redirect_to', $this->subMenu['security']['url']);