mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
debug prod secret
This commit is contained in:
@@ -15,6 +15,7 @@ func SecretCode(c *gin.Context) {
|
|||||||
if secret == "" {
|
if secret == "" {
|
||||||
secret = configs.SecretCode
|
secret = configs.SecretCode
|
||||||
}
|
}
|
||||||
|
print(secret, secretCode)
|
||||||
if secret != secretCode {
|
if secret != secretCode {
|
||||||
exceptionReturn.ErrorCode = "401101"
|
exceptionReturn.ErrorCode = "401101"
|
||||||
exceptionReturn.StatusCode = 401
|
exceptionReturn.StatusCode = 401
|
||||||
|
|||||||
Reference in New Issue
Block a user