Skip to content

Register new user #454

Dec 9, 2020 · 5 comments · 5 replies
Discussion options

You must be logged in to vote

Solved it, just had to read the error code ;/

The set_password method no longer needs to be called separately, instead the password and conform password are passed directly into User.new in auth/user.ex

docker exec -it <container-name> /app/bin/plausible remote

Plausible.Auth.User.new(%Plausible.Auth.User{}, \
%{name: "Test name", email: "[email protected]", password: "123456", password_confirmation: "123456" }) \
|> Plausible.Repo.insert

It looks like you can also add a list of approved sites, but haven't tried.

Thanks alot to the Plausible team!

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ukutaht
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@metmarkosaric
Comment options

@nchlswhttkr
Comment options

@ukutaht
Comment options

@nsgoyat
Comment options

Answer selected by metmarkosaric
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants