Skip to content

Active codes lives < 60 minutes #1716

@cez81

Description

@cez81
  • Gitea version (or commit ref): master
  • Git version: 2.7.4
  • Operating system: Ubuntu 16.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

If 'xxx_CODE_LIVE_MINUTES' settings are less than 60 they will show incorrectly as 0 hours in mails and flash.

ACTIVE_CODE_LIVE_MINUTES = 30
RESET_PASSWD_CODE_LIVE_MINUTES = 30

Screenshots

pass

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions