chore: rename project
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/authorizerdev/authorizer/server/constants"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/yauthdev/yauth/server/constants"
|
||||
)
|
||||
|
||||
func IsSuperAdmin(gc *gin.Context) bool {
|
||||
@@ -11,5 +11,5 @@ func IsSuperAdmin(gc *gin.Context) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
return secret == constants.YAUTH_ADMIN_SECRET
|
||||
return secret == constants.ROOT_SECRET
|
||||
}
|
||||
|
Reference in New Issue
Block a user