Skip to content

Commit 34e72db

Browse files
QinYuuuuDev Agent
andauthored
refactor user component to split phone related functions to single component. (#641)
* refactor user component to split phone related functions to single component. * fix redeclear --------- Co-authored-by: Dev Agent <[email protected]>
1 parent 89b5266 commit 34e72db

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

user/component/user.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ import (
2727

2828
const GitalyRepoNotFoundErr = "rpc error: code = NotFound desc = repository does not exist"
2929

30-
const (
31-
SMSCodeCachePrefix = "sms:code"
32-
SMSCodeCacheTTL = 1 * time.Minute
33-
)
34-
3530
type userComponentImpl struct {
3631
userStore database.UserStore
3732
orgStore database.OrgStore

0 commit comments

Comments
 (0)