Skip to content
Snippets Groups Projects
Commit c001cbb3 authored by Ilham Firdausi Putra's avatar Ilham Firdausi Putra
Browse files

fix register key problem

parent e453b8ef
No related merge requests found
......@@ -172,7 +172,7 @@ public class AuthActivity extends AppCompatActivity {
User user;
user = new User(instanceId, name, email, md5(password));
user.setKey(instanceId);
PreferencesHelper.setUserFirebaseKey(AuthActivity.this, key);
PreferencesHelper.setUserFirebaseKey(AuthActivity.this, user.getKey());
PreferencesHelper.setUserName(AuthActivity.this, user.getName());
PreferencesHelper.setHasLogin(AuthActivity.this, true);
......
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