Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix indent

Smaug#67394e3e946bccb6
diff --git a/backend/controllers/authentication.controller.go b/backend/controllers/authentication.controller.go
index 3bb4b9bd..2d297cfe 100644
--- a/backend/controllers/authentication.controller.go
+++ b/backend/controllers/authentication.controller.go
@@ -89,8 +89,8 @@ func (dc *AuthControllerImpl) Login(c *gin.Context) (int, any) {
c.SetCookie("Authorization", tokenString, 1800, "/", "localhost", false, true)
c.SetCookie("RefreshToken", session.RefreshToken, int(time.Duration(dc.app.Config.Auth.RefreshTokenExpiry).Seconds()), "/", "localhost", false, true)
user.Password = ""
- return http.StatusOK, user
+ return http.StatusOK, user
}
// RefreshSession