testing change password

This commit is contained in:
2018-10-27 04:30:41 -05:00
parent 6d6f985c63
commit eed68ff696

View File

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