Finish LoginActivity on success.
Fixes part 6 of
@@ -39,6 +39,7 @@ public class AsyncDevGetEmails extends ZulipAsyncPushTask {
Intent intent = new Intent(context, DevAuthActivity.class);
intent.putExtra(EMAIL_JSON, result);
context.startActivity(intent);
+ ((LoginActivity)context).finish();
}
} catch (JSONException e) {
ZLog.logException(e);
