mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-02 17:05:38 -04:00
fix(collaboration): mint the mobile view test token with the token manager secret (#3647)
This commit is contained in:
1 parent
97adf2e0d8
commit
e848d469d5
1 file changed
+1
-1
@@ -241,7 +241,7 @@ var _ = Describe("Discovery", func() {
|
||||
Path: "/path/to/file.docx",
|
||||
},
|
||||
ViewMode: viewMode,
|
||||
AccessToken: MintToken(myself, cfg.Wopi.Secret, nowTime),
|
||||
AccessToken: MintToken(myself, cfg.TokenManager.JWTSecret, nowTime),
|
||||
}
|
||||
if mobile != "" {
|
||||
req.Opaque = utils.AppendPlainToOpaque(req.Opaque, "mobile", mobile)
|
||||
|
||||
Reference in new issue
Block a user