meilisync-admin
meilisync-admin copied to clipboard
default account ?
+1
+1
I found a workaround. you can add an admin with this sql statement. the password is a bcrypt hash
INSERT INTO admin ( nickname, email, password, is_superuser, is_active) VALUES ("", "[email protected]", "$2a$12$lHPmL6yncUwa/WSb3nvqzeCZtWQ7ORZdkZsbyOWul7Nk0SIB7rnjS", 1, 1);
User: [email protected] password: password
+1
post 访问接口/api/admin header Content-Type:application/json body json{ "email": "you email", "password": "you password", "nickname": "you name" }