diff --git a/internal/router/api/v1/account/login.go b/internal/router/api/v1/account/login.go index cd7399e..57de638 100644 --- a/internal/router/api/v1/account/login.go +++ b/internal/router/api/v1/account/login.go @@ -7,6 +7,7 @@ import ( "golang.org/x/crypto/bcrypt" ) +// Login to an account func Login(ctx *context.Context) { // Store body var body *v1.Register diff --git a/internal/router/api/v1/account/register.go b/internal/router/api/v1/account/register.go index 0adee89..45039e6 100644 --- a/internal/router/api/v1/account/register.go +++ b/internal/router/api/v1/account/register.go @@ -7,6 +7,7 @@ import ( "golang.org/x/crypto/bcrypt" ) +// Register an account func Register(ctx *context.Context) { // Check if registration is disabled if ctx.Config.Auth.Register {