Active codes lives < 60 minutes #707

Closed
opened 2025-11-02 03:33:46 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @cez81 on GitHub (May 13, 2017).

Originally assigned to: @cez81 on GitHub.

  • 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

Originally created by @cez81 on GitHub (May 13, 2017). Originally assigned to: @cez81 on GitHub. - Gitea version (or commit ref): master - Git version: 2.7.4 - Operating system: Ubuntu 16.04 - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] 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](https://cloud.githubusercontent.com/assets/9416498/26026055/c70c040e-37f4-11e7-805b-c4acdd6e5f63.png)
GiteaMirror added the type/bug label 2025-11-02 03:33:46 -06:00
Author
Owner

@cez81 commented on GitHub (May 13, 2017):

Please assign to me

@cez81 commented on GitHub (May 13, 2017): Please assign to me
Author
Owner

@lunny commented on GitHub (May 25, 2017):

any news?

@lunny commented on GitHub (May 25, 2017): any news?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#707