flag_verified = 1; // TODO: generate user activity? or do this in controller? $user->save(); } }