Add verified_at column

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2025-10-24 10:59:55 +02:00
parent 081cd66a8e
commit 47d433eecb
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -102,6 +102,7 @@ class UserController extends Controller
$user = User::find($id);
$user->validate = 1;
$user->verified_at = now();
$user->save();
return response()->json(['message' => 'User validated successfully']);