Added comments

This commit is contained in:
perp 2024-06-06 19:32:01 +01:00
parent 909aaa99e7
commit f3c79dcebf
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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 {