-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't echo password when registering a user #2
Comments
There is basically no way to get a password in Erlang. We have tried some approaches but it failed under certain circunstances, @ericmj do you remember which ones? |
The issue is that the shell erlang starts by default doesn't support this. If we can find a way to start a shell that supports I'm leaving this issue open because I really want to find a good solution for this. If anyone have any ideas on how to get EDIT: |
If you start the erlang or elixir shell in CLI (using |
@josevalim Should we add your workaround or is too hacky? |
Up to you. I guess we can try! On Monday, April 28, 2014, Eric Meadows-Jönsson notifications@github.com
José Valimwww.plataformatec.com.br |
nice! 🍻 |
I think it's common to not echo the password in a shell in case you need to enter the password. I've seen that you use
IO.gets
for this so probably elixir would need to have a password-prompt command (read -s
works in bash e.g., don't know how to implement this though)..The text was updated successfully, but these errors were encountered: