server icon indicating copy to clipboard operation
server copied to clipboard

impossible to create user without setting a password

Open phonon112358 opened this issue 6 years ago • 6 comments

Steps to reproduce

  1. Go to the user page
  2. Try to create a new user with email address but without password

Expected behaviour

A welcome email should be sent to the user's email address (see https://help.nextcloud.com/t/is-there-a-way-to-send-a-welcome-email-with-create-password-link-when-account-is-created/31505/2). Sometimes this works, but sometimes not!

Actual behaviour

Sometimes (!), I get an error message that the password must contain at least one number (I have the password policy app enabled).

This issue seems to be very similar to https://github.com/nextcloud/server/issues/6089.

Server configuration

Operating system: Debian 10

Web server: nginx

PHP version: php 7.3

Nextcloud version: (see Nextcloud admin page) 18.0.2

**Updated from an older Nextcloud/ownCloud or fresh install:**updated from NC 17 -> 18.0.1 -> 18.0.2

phonon112358 avatar Mar 21 '20 00:03 phonon112358

I noticed the same and assume it has to do with the fact that 0-9 is missing.

(Edit: Well, I should have read your full post as you already mentioned that a number needs to be there - so I stated the obvious -> have a good day! :))

BennyE avatar Mar 21 '20 12:03 BennyE

I leave the password field empty because I want the new user to be forced to set her/his own password ...

however, as described above, that creates an error message sometimes.

phonon112358 avatar Mar 21 '20 12:03 phonon112358

I also have the issue (sometimes), after an update from 18.0.1 to 18.0.3.

orandev avatar Apr 22 '20 10:04 orandev

Related: https://github.com/nextcloud/server/issues/16465

szaimen avatar May 31 '21 13:05 szaimen

cc @nextcloud/security do we want to allow empty passwords? If not, please close this issue. Thanks! :)

szaimen avatar May 31 '21 13:05 szaimen

I think we can close this.

LukasReschke avatar May 31 '21 14:05 LukasReschke