mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
Merge pull request #1432 from GSA/1427-remove-email-and-password-from-settings-because-login-gov
1427 remove email and password from settings because login gov
This commit is contained in:
@@ -27,21 +27,6 @@
|
||||
}}
|
||||
{% endcall %}
|
||||
|
||||
{% call row() %}
|
||||
{{ text_field('Email address') }}
|
||||
{{ text_field(current_user.email_address) }}
|
||||
{% if can_see_edit %}
|
||||
{{ edit_field(
|
||||
'Change',
|
||||
url_for('.user_profile_email'),
|
||||
suffix='email address'
|
||||
)
|
||||
}}
|
||||
{% else %}
|
||||
{{ text_field('') }}
|
||||
{% endif %}
|
||||
{% endcall %}
|
||||
|
||||
{% call row() %}
|
||||
{{ text_field('Mobile number') }}
|
||||
{{ optional_text_field(current_user.mobile_number) }}
|
||||
@@ -53,16 +38,6 @@
|
||||
}}
|
||||
{% endcall %}
|
||||
|
||||
{% call row() %}
|
||||
{{ text_field('Password') }}
|
||||
{{ text_field('Last changed ' + current_user.password_changed_at|format_delta) }}
|
||||
{{ edit_field(
|
||||
'Change',
|
||||
url_for('.user_profile_password'),
|
||||
suffix='password'
|
||||
)
|
||||
}}
|
||||
{% endcall %}
|
||||
{% call row() %}
|
||||
{{ text_field('Preferred Timezone') }}
|
||||
{{ optional_text_field(current_user.preferred_timezone) }}
|
||||
|
||||
Reference in New Issue
Block a user