-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easy registration of new accounts #15770
Comments
@kaffeeringe What you already can do is manually trigger resending the invitation email for the users that have never logged in. You can find that out on the users page. Or someone could automate that... 😉 |
I guess this could be solved by introducing a long-lasting token that the admin could select when sending out invites. Could this clash with best-practice security standards or is it safe to implement? |
see #16245 So the idea is to enhance with https://example.com/newpassword/user@email.com |
The very first email is managed and sent by sales in charge of the new users |
Can i work on this issue ? |
I would also like some feedback on this issue. Either we extend the token validity, or make the server send a new email when the user opens an expired link, like @compagnon said. |
Hi all, myself and @franziba would like to implement the initial password reset function described by @kaffeeringe. Should we open a new Issue specific to this, or should this be the issue we reference ? Best wishes |
@JonasBlaesche I think referencing this issue would be fine. So far no one has provided a possible implementation to solve this issue, so if you'd like to provide one that would be great! |
Thanks @JonasBlaesche and @franziba 👍 @jancborchardt could you add some input? Actual there are two options:
If we're adding a third way "Create user and send him a one-time-password" how to trigger this? I think it's already confusing that we send out a email without or with password. |
@wiswedel is there a way to force a password change? If not I'm unsure about "good first issue". |
I have implemented and hosted the feature described in #16245 thanks to "./occ user:add " , the accounts are provisionned , and any time , a special email is sent to new user asking them to connect to https://example.com/newpassword/user@email.com This is a new page (based on LostPassword), that makes the user to send to him an automatic email with an tokenized URL inside. |
Hello there,
We don't see any need for machine-generated passwords so far. Best regards |
cc @nextcloud/designers |
Hello, we would start implementing our suggestion from above right now, as no one said anything against it. Still we would be happy about any annotations. Best regards, |
I think the suggested change sounds great. It would certainly have my support. |
@kesselb Option 1 absolutely. :) Admins shouldn’t mess around with passwords. Any other open design questions at the moment? @JonasBlaesche @franziba? |
Admins currently have the option to add users with a admin chosen password. This would not be anything new added by us. Our change would just ensure that a admin set password is changed by the user on his/her first login. This would ensure that the admin has no access to the user account after the first user login.
I personally know some installations that have not setup the E-Mail sending capabilities of Nextcloud, so they add users by username:password. This would no longer be possible if the only way to add a user would be by username and E-Mail. Do you have any other comments on the reset proposal? Best regards |
We don't require an e-mail currently. |
Hi there, we now have a working version of our idea. We will shortly describe what we did:
The LostController usually expects a password-rest token, that is generated when a user requests a password reset. This token is generated by the NewUserMailHelper when the user requests a new password. Part of the information used to generate a token is the users E-Mail address. We neither have access to the NewUserMailHelper nor a user with an E-Mail address. Therefore passing a normal password-rest token is not possible. We currently worked around this problem by passing the users login token and added a new check in the LostController (if the user has the inital flag set and the passed token is equal to the login token, a password reset is allowed). After the password is reseted the login token is deleted, resulting in a new login token on the next login. Is this a save way to do it? If not does anybody have an idea on how to solve that problem? Best regards |
hi Thanks |
I keep having problems with new users:
What works:
Problem is: I can't force them to change the password after the first login, can I? That would be a good feature:
The text was updated successfully, but these errors were encountered: