diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-29 15:28:20 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-29 15:28:20 +0300 |
commit | 014e6d0f875a1fb1b97aaad1153f92b85e88354d (patch) | |
tree | 64953113c9f229c3fb33e4e9ab43975396f38404 /app/views/profiles/passwords | |
parent | 535feb08ce90352c89799df5e3e70a10e53ee10d (diff) | |
download | gitlab-ce-014e6d0f875a1fb1b97aaad1153f92b85e88354d.tar.gz |
Require current password even if password was expired
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/profiles/passwords')
-rw-r--r-- | app/views/profiles/passwords/new.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/profiles/passwords/new.html.haml b/app/views/profiles/passwords/new.html.haml index b72232ee36b..aef7348fd20 100644 --- a/app/views/profiles/passwords/new.html.haml +++ b/app/views/profiles/passwords/new.html.haml @@ -12,6 +12,9 @@ %li= msg .form-group + = f.label :current_password, class: 'control-label' + .col-sm-10= f.password_field :current_password, required: true, class: 'form-control' + .form-group = f.label :password, class: 'control-label' .col-sm-10= f.password_field :password, required: true, class: 'form-control' .form-group |