Skip to content
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

Empty passwords don't work #1

Open
gar1t opened this issue Jan 18, 2010 · 2 comments
Open

Empty passwords don't work #1

gar1t opened this issue Jan 18, 2010 · 2 comments

Comments

@gar1t
Copy link

gar1t commented Jan 18, 2010

The fix is to just add a new function header to mysql_auth:password_new:

  • password_new([], _Salt) ->
  • <<>>;
    
    password_new(Password, Salt) ->
    Stage1 = crypto:sha(Password),
@gar1t
Copy link
Author

gar1t commented Jan 18, 2010

Sorry, codeblock is:

+ password_new([], _Salt) ->
+     <<>>;
  password_new(Password, Salt) ->
      Stage1 = crypto:sha(Password),

@weisslj
Copy link
Contributor

weisslj commented Feb 22, 2017

I believe this issue can be closed because of commit ee39d40.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants