fix - New created users don't have password
This commit is contained in:
parent
2e506660f8
commit
47f023255f
2 changed files with 3 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
|||
- change: asset exporter now uses one session per asset to avoid breaking state in between
|
||||
- fix: Lineage length is not checked (Martin Kamerbeek / Procolix)
|
||||
- fix: Cannot manage user accounts in 7.1.0
|
||||
- fix: New created users don't have password
|
||||
|
||||
7.1.0
|
||||
- fix: mysql and mysqldump were transposed in upgrade.pl --help
|
||||
|
|
|
|||
|
|
@ -361,7 +361,8 @@ sub editUserFormSave {
|
|||
my $userId = $self->session->form->get("uid");
|
||||
my $properties;
|
||||
my $userData = $self->getParams($userId);
|
||||
unless (!$self->session->form->process('authWebGUI.identifier') || $self->session->form->process('authWebGUI.identifier') eq "password" || !$self->_isValidPassword($self->session->form->get('authWebGUI.identifier'))) {
|
||||
my $identifier = $self->session->form->process('authWebGUI.identifier');
|
||||
unless (!$identifier || $identifier eq "password") {
|
||||
$properties->{identifier} = Digest::MD5::md5_base64($self->session->form->process('authWebGUI.identifier'));
|
||||
if($userData->{identifier} ne $properties->{identifier}){
|
||||
$properties->{passwordLastUpdated} =$self->session->datetime->time();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue