Skip to content

2FA: "/2fa code/confirm <code>" should not be logged in the console [Suggestion] #1703

@austinhuang0131

Description

@austinhuang0131

Before reporting an issue make sure you are running the latest build of the plugin and checked for duplicate issues!

yes

What behaviour is observed:

Console logs /2fa code/confirm <code> message as usual.

What behaviour is expected:

Console logs something like "2fa success" instead of exposing the code, just like how /login is treated in the console. I'm not saying I don't trust my OPs but I just think it's necessary.

Steps/models to reproduce:

You login using 2fa.

Plugin list:

n/a

Environment description

Spigot 1.13.2 @ Linux

AuthMe build number:

v5.5.1-SNAPSHOT (build: 2181)

Error Log:

n/a

Configuration:

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueMarks issues that should be easy to fix/close, useful for new contributors.Type: enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions