mirror of
https://github.com/ssep1ol/overleaf-registration-be.git
synced 2026-07-21 12:30:21 +00:00
First commit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user