mirror of
https://github.com/gogs/gogs.git
synced 2026-05-07 13:25:56 +02:00
mod: bump modernc.org/sqlite from 1.36.0 to 1.37.0 (#7947)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Chen <jc@unknwon.io>
This commit is contained in:
@@ -40,7 +40,7 @@ func TestGenerateActivateCode(t *testing.T) {
|
||||
)
|
||||
|
||||
code := GenerateActivateCode(1, "alice@example.com", "Alice", "123456", "rands")
|
||||
got := tool.VerifyTimeLimitCode("1alice@example.comalice123456rands", conf.Auth.ActivateCodeLives, code[:tool.TIME_LIMIT_CODE_LENGTH])
|
||||
got := tool.VerifyTimeLimitCode("1alice@example.comalice123456rands", conf.Auth.ActivateCodeLives, code[:tool.TimeLimitCodeLength])
|
||||
assert.True(t, got)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user