@@ -49,7 +49,6 @@ import { PassportStrategyFrontend } from "@cocalc/util/types/passport-types";
49
49
import { DeleteAccount } from "../delete-account" ;
50
50
import { SignOut } from "../sign-out" ;
51
51
import { set_account_table , ugly_error } from "../util" ;
52
- import { APIKeySetting } from "./api-key" ;
53
52
import { EmailAddressSetting } from "./email-address-setting" ;
54
53
import { EmailVerification } from "./email-verification" ;
55
54
import { PasswordSetting } from "./password-setting" ;
@@ -578,7 +577,6 @@ will no longer work (automatic redirects are not implemented), so change with ca
578
577
}
579
578
return (
580
579
< EmailAddressSetting
581
- account_id = { props . account_id }
582
580
email_address = { props . email_address }
583
581
is_anonymous = { props . is_anonymous }
584
582
disabled = { props . is_anonymous && ! terms_checkbox }
@@ -619,11 +617,6 @@ will no longer work (automatic redirects are not implemented), so change with ca
619
617
}
620
618
}
621
619
622
- function render_api_key ( ) : Rendered {
623
- if ( props . is_anonymous ) return ;
624
- return < APIKeySetting /> ;
625
- }
626
-
627
620
return (
628
621
< Panel header = { render_header ( ) } >
629
622
{ render_anonymous_warning ( ) }
@@ -634,7 +627,6 @@ will no longer work (automatic redirects are not implemented), so change with ca
634
627
< div style = { { marginBottom : "15px" } } > </ div >
635
628
{ render_email_verification ( ) }
636
629
{ render_password ( ) }
637
- { render_api_key ( ) }
638
630
{ render_created ( ) }
639
631
{ render_delete_account ( ) }
640
632
{ render_linked_external_accounts ( ) }
0 commit comments