Commit c29e6325 authored by Christof Wolke's avatar Christof Wolke
Browse files

register buck behoben

parent e55bbd9a
...@@ -50,7 +50,7 @@ public class RegisterActivity extends AppCompatActivity { ...@@ -50,7 +50,7 @@ public class RegisterActivity extends AppCompatActivity {
if (!(name.isEmpty() || email.isEmpty() || password.isEmpty())){ if (!(name.isEmpty() || email.isEmpty() || password.isEmpty())){
if (isEmailOk()){ if (isEmailOk()){
btNewAccount.setEnabled(false); btNewAccount.setEnabled(false);
register(name, email, password); register(email, name, password);
toMainActivity(); toMainActivity();
}else { }else {
showToastMessage(getString(R.string.register_response_emailNotOk)); showToastMessage(getString(R.string.register_response_emailNotOk));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment