testing change password
This commit is contained in:
@@ -67,6 +67,8 @@ class WikiController extends Controller
|
||||
$name = strtolower($name);
|
||||
$name = str_replace(' ', '_', $name);
|
||||
$check = DB::select('SELECT login FROM wiki_user WHERE login = ?', [$name]);
|
||||
dd($check);
|
||||
|
||||
if(isset($check[0])) {
|
||||
return redirect('/dashboard')->with('error', 'Login Not Found!');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user