Skip to content

Maybe 2FA login can be optimized #27427

Open
@soxft

Description

@soxft

Description

I use Safari's built-in 2FA to automatically fill in. After I enter the password, Safari will automatically click to log in, but I will habitually press Enter again. so it gives me a 500 error code.

After I checked the log, I found an "not in 2fa session" error. so I think this was caused by my habitually? login twice?

Is it possible to optimize this 2fa login method?

Gitea Version

1.20.3 built with GNU Make 4.2.1, go1.20.7 : bindata, sqlite, sqlite_unlock_notify

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

systemd

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions