fix: OnlyOffice edit session token expiration and add session expired modal
Some checks failed
Automated Container Build / build-and-push (push) Failing after 15s
Some checks failed
Automated Container Build / build-and-push (push) Failing after 15s
This commit is contained in:
parent
1f83d57942
commit
218fb40743
7 changed files with 130 additions and 16 deletions
|
|
@ -160,6 +160,8 @@ func main() {
|
|||
protected.Put("/auth/password", authHandler.ChangePassword)
|
||||
|
||||
// 2FA management
|
||||
protected.Get("/auth/download-token", authHandler.GetDownloadToken)
|
||||
protected.Get("/auth/edit-token", authHandler.GetEditToken)
|
||||
protected.Post("/auth/2fa/enable", authHandler.Enable2FA)
|
||||
protected.Post("/auth/2fa/confirm", authHandler.Confirm2FA)
|
||||
protected.Post("/auth/2fa/disable", authHandler.Disable2FA)
|
||||
|
|
|
|||
Reference in a new issue