{
    "object_kind": "push",
    "event_name": "push",
    "before": "d5791ef0feedb69be7cbe75247d803ba803c2a02",
    "after": "2ff266b4f0150abb0f6ac617c12636c68ab52745",
    "ref": "refs\/heads\/main",
    "ref_protected": true,
    "checkout_sha": "2ff266b4f0150abb0f6ac617c12636c68ab52745",
    "message": null,
    "user_id": 22,
    "user_name": "B\u00edr\u00f3 Marcell",
    "user_username": "biromarcell",
    "user_email": null,
    "user_avatar": "https:\/\/www.gravatar.com\/avatar\/52dc890fb46e6c1c30181b64ce67280a6bb8794dec98c20eaf6e1aa110942e7f?s=80&d=identicon",
    "project_id": 203,
    "project": {
        "id": 203,
        "name": "atriumbackend",
        "description": null,
        "web_url": "http:\/\/git.dunahousedev.hu\/atrium\/atriumbackend",
        "avatar_url": null,
        "git_ssh_url": "git@git.dunahousedev.hu:atrium\/atriumbackend.git",
        "git_http_url": "http:\/\/git.dunahousedev.hu\/atrium\/atriumbackend.git",
        "namespace": "atrium",
        "visibility_level": 0,
        "path_with_namespace": "atrium\/atriumbackend",
        "default_branch": "main",
        "ci_config_path": "",
        "homepage": "http:\/\/git.dunahousedev.hu\/atrium\/atriumbackend",
        "url": "git@git.dunahousedev.hu:atrium\/atriumbackend.git",
        "ssh_url": "git@git.dunahousedev.hu:atrium\/atriumbackend.git",
        "http_url": "http:\/\/git.dunahousedev.hu\/atrium\/atriumbackend.git"
    },
    "commits": [
        {
            "id": "2ff266b4f0150abb0f6ac617c12636c68ab52745",
            "message": "2FA: a k\u00f3d 2 percig \u00e9l, \u00e9s a lev\u00e9l is ezt mondja\n\nA lej\u00e1rat 10 percr\u0151l 2-re cs\u00f6kken (config\/twofactor.php + .env.example,\n.env.template). A lev\u00e9lben szerepl\u0151 id\u0151tartam eddig is a config-b\u00f3l j\u00f6tt\n(`__('mail.login_code.valid', ['minutes' => $ttlMinutes])`), teh\u00e1t egy helyen\nkellett \u00e1t\u00edrni \u2014 nem volt be\u00e9getve sehol.\n\nA resend viszont csak \u00faj k\u00f3dot \u00edrt be, az expires_at-et nem tolta ki. 10\npercn\u00e9l ez csak pontatlan volt, 2 percn\u00e9l viszont hib\u00e1s: a 60s cooldown ut\u00e1n\nk\u00fcld\u00f6tt k\u00f3d ~59 m\u00e1sodpercet \u00e9lt, a m\u00e1sodik \u00fajrak\u00fcld\u00e9s pedig m\u00e1r eleve lej\u00e1rva\n\u00e9rkezett volna \u2014 a lev\u00e9l 2 percet \u00edg\u00e9rt, a k\u00f3d meg soha nem m\u0171k\u00f6d\u00f6tt volna.\nEz\u00e9rt a resend mostant\u00f3l a teljes ttl-t adja a friss k\u00f3dnak. A meghosszabb\u00edt\u00e1s\nkorl\u00e1tos: legfeljebb max_resends alkalommal, mindegyik a cooldown m\u00f6g\u00f6tt.\n\nTesztek: a lev\u00e9l \u00e1ltal \u00edg\u00e9rt \u00e9rv\u00e9nyess\u00e9g meg kell egyezzen a t\u00e1rolt\nlej\u00e1rattal (sz\u00e1nd\u00e9kosan nem a default 2-vel, hanem 7-tel); az \u00fajrak\u00fcld\u00f6tt k\u00f3d\nt\u00e9nyleg t\u00fal\u00e9li az eredeti lej\u00e1ratot; \u00e9s a kiadott default val\u00f3ban 2 perc\n(az env-v\u00e1ltoz\u00f3t kiszedve, k\u00fcl\u00f6nben csak a helyi .env-et olvasn\u00e1 vissza).\nEllen\u0151rizve: a resend-teszt a jav\u00edt\u00e1s n\u00e9lk\u00fcl elbukik. 177 backend teszt z\u00f6ld,\n\u00e9s a lev\u00e9l hu\/en\/pl renderben is 2 percet \u00edr.\n\nCo-Authored-By: Claude Opus 5 <noreply@anthropic.com>\n",
            "title": "2FA: a k\u00f3d 2 percig \u00e9l, \u00e9s a lev\u00e9l is ezt mondja",
            "timestamp": "2026-09-16T11:08:15+02:00",
            "url": "http:\/\/git.dunahousedev.hu\/atrium\/atriumbackend\/-\/commit\/2ff266b4f0150abb0f6ac617c12636c68ab52745",
            "author": {
                "name": "birmar2",
                "email": "biromarcell1994@gmail.com"
            },
            "added": [],
            "modified": [
                ".env.example",
                ".env.template",
                "app\/Services\/Auth\/TwoFactorService.php",
                "config\/twofactor.php",
                "tests\/Feature\/TwoFactorAuthTest.php"
            ],
            "removed": []
        }
    ],
    "total_commits_count": 1,
    "push_options": [],
    "repository": {
        "name": "atriumbackend",
        "url": "git@git.dunahousedev.hu:atrium\/atriumbackend.git",
        "description": null,
        "homepage": "http:\/\/git.dunahousedev.hu\/atrium\/atriumbackend",
        "git_http_url": "http:\/\/git.dunahousedev.hu\/atrium\/atriumbackend.git",
        "git_ssh_url": "git@git.dunahousedev.hu:atrium\/atriumbackend.git",
        "visibility_level": 0
    },
    "output": [
        "\/etc\/apache2\/sites-available\/biromarcell.atriumbackend.dunahousedev.hu.conf exists.",
        "\/etc\/apache2\/sites-available\/atriumbackend.dunahousedev.hu.conf exists.",
        "Saving debug log to \/var\/log\/letsencrypt\/letsencrypt.log",
        "An unexpected error occurred:",
        "BrokenPipeError: [Errno 32] Broken pipe",
        "Ask for help or search for solutions at https:\/\/community.letsencrypt.org. See the logfile \/var\/log\/letsencrypt\/letsencrypt.log or re-run Certbot with -v for more details.",
        "Another instance of Certbot is already running.",
        "Ask for help or search for solutions at https:\/\/community.letsencrypt.org. See the logfile \/tmp\/certbot-log-mwz5curz\/log or re-run Certbot with -v for more details.",
        "Another instance of Certbot is already running.",
        "Ask for help or search for solutions at https:\/\/community.letsencrypt.org. See the logfile \/tmp\/certbot-log-d2b4flrl\/log or re-run Certbot with -v for more details.",
        "Fetching origin",
        "From git.dunahousedev.hu:atrium\/atriumbackend",
        "   d5791ef..2ff266b  main       -> origin\/main",
        "HEAD is now at 2ff266b 2FA: a k\u00f3d 2 percig \u00e9l, \u00e9s a lev\u00e9l is ezt mondja",
        "--OK--"
    ]
}