-
-
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
Password input time for admin reaproval to short #11224
Comments
Was just having the same issue when doing it from the phone. It's very difficult to type a long password in time. |
server/settings/src/store/api.js Line 89 in 40bb452
|
I think the problem is that the code times our at the wrong layer. There should be a timeout, but on the password confirmation dialogue itself. This timeout error should be propagated to the code that requested password confirmation. Otherwise you still see the password confirmation dialogue, but the code that requested it might already have considered it as timed out and the callback leads to undefined behavior. |
@ChristophWurst if we use |
No, because |
@ChristophWurst Ah, I thought you worked around this. |
Either that or adjust the existing code 😉 |
So let me get this straight: I can only update my apps if I am being able to type my password within seven seconds (as the occ command does not support updating apps, #8773)? What is the purpose of a timeout in the first place? What is gained by timing out the dialog? |
Still not fixed? |
server/settings/src/store/api.js Line 89 in 40bb452
requirePasswordConfirmation is used with a timeout in nextcloud\server. Why is there a timeout for password confirmation in this place? @skjnldsv @ChristophWurst
|
@ChristophWurst yes, we just need to migrate to your solution or to nextcloud-axios? |
Is there a technical reason why you need the timeout here? Could you just drop it and use it like anywhere else in nextcloud\server? |
Yes there is a valid reason behind. |
Well, https://www.npmjs.com/package/nextcloud-password-confirmation does just call |
Care to explain what is the reason? I suppose myself and others dont exactly see the point of it. |
Of course :) |
And, finally, how to disable this behavior? |
Thanks 🙌 |
Will be shipped with 14.0.4 |
When changing settings for nextcloud via web interface the timeframe is to short to type in ma password.
This happens if an session exists a couple of time and reaproval of credentials is forced.
In case you have an very long (and hopefully a secure) password the timeframe to type in exeeds an you face an error message.
This feature has been introduced in NC14.
I've found no option to extend the timeframe for the password input in the web interface.
Please make it configureable.
The text was updated successfully, but these errors were encountered: