fix: remove stray closing brace in auth.go
All checks were successful
Automated Container Build / build-and-push (push) Successful in 39s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 39s
This commit is contained in:
parent
2152ec9a8f
commit
e7cbb3c386
1 changed files with 0 additions and 3 deletions
|
|
@ -136,9 +136,6 @@ func GenerateDownloadToken(userID int, username, secret, filePath string) (strin
|
|||
token := jwt.NewWithClaims(jwt.SigningMethodHS256, claims)
|
||||
return token.SignedString([]byte(secret))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// GenerateEditToken creates a long-lived edit token for OnlyOffice sessions.
|
||||
func GenerateEditToken(userID int, username, secret, filePath string) (string, error) {
|
||||
claims := jwt.MapClaims{
|
||||
|
|
|
|||
Reference in a new issue