First commit

This commit is contained in:
corrado.mulas
2024-11-19 23:46:08 +01:00
parent 2be7e162a9
commit 36fa1d9db4

View File

@@ -91,10 +91,9 @@ func (o *Overleaf) Login(email, password string) error {
}
// RegisterUser registers a new user
func (o *Overleaf) RegisterUser(email, password string) error {
func (o *Overleaf) RegisterUser(email string) error {
resp, err := o.post("/admin/register", map[string]string{
"email": email,
"password": password,
"email": email,
})
if err != nil {
return err