This commit is contained in:
2018-10-27 04:21:44 -05:00
parent 44a4176355
commit 5e962ea331

View File

@@ -67,7 +67,8 @@ class WikiController extends Controller
$name = strtolower($name);
$name = str_replace(' ', '_', $name);
$check = DB::select('SELECT login FROM wiki_user WHERE login = ?', [$name]);
if($check[0]->login === $name) {
dd($check);
if($check[0]->login == $name) {
return redirect('/dashboard')->with('error', 'Login Not Found!');
}