Commit 0bcbb9df authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Bugfix beim Botschutz

parent 9077643d
...@@ -22,7 +22,7 @@ class HumanVerification extends Controller ...@@ -22,7 +22,7 @@ class HumanVerification extends Controller
$url = $request->input('url'); $url = $request->input('url');
$user = DB::table('humanverification')->where('id', $id)->first(); $user = DB::table('humanverification')->where('id', $id)->first();
if($user !== null && $user->locked === "1"){ if($user !== null && $user->locked === 1){
DB::table('humanverification')->where('id', $id)->update(['locked' => false]); DB::table('humanverification')->where('id', $id)->update(['locked' => false]);
return redirect($url); return redirect($url);
}else{ }else{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment