mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Removing the email and password fields in the settings area because login.gov will take care of this
This commit is contained in:
@@ -27,21 +27,6 @@
|
|||||||
}}
|
}}
|
||||||
{% endcall %}
|
{% 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() %}
|
{% call row() %}
|
||||||
{{ text_field('Mobile number') }}
|
{{ text_field('Mobile number') }}
|
||||||
{{ optional_text_field(current_user.mobile_number) }}
|
{{ optional_text_field(current_user.mobile_number) }}
|
||||||
@@ -53,16 +38,6 @@
|
|||||||
}}
|
}}
|
||||||
{% endcall %}
|
{% 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() %}
|
{% call row() %}
|
||||||
{{ text_field('Preferred Timezone') }}
|
{{ text_field('Preferred Timezone') }}
|
||||||
{{ optional_text_field(current_user.preferred_timezone) }}
|
{{ optional_text_field(current_user.preferred_timezone) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user