aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/components/login
Commit message (Collapse)AuthorAgeFilesLines
* fix(login): only show error state on login box if user interactedFerdinand Thiessen2025-02-191-0/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Adjust more places for logical positionFerdinand Thiessen2024-08-291-1/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add bidi support in core directoryMostafa Ahangarha2024-08-292-2/+2
| | | | Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* chore(deps): Update `debounce` to 2.1.0Ferdinand Thiessen2024-06-231-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(login): Prevent submitting the login form multiple timesMarcel Müller2024-06-061-1/+7
| | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* fix(login): Disable login button when already logging inMarcel Müller2024-06-061-0/+1
| | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* feat(login-mask): remove `Login with` from labelSimon L.2024-05-211-2/+2
| | | | | Signed-off-by: Simon L <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* chore(core): Change "username" to "account name"Christopher Ng2024-05-171-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-136-77/+20
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Use `@simplewebauthn` for frontend logicFerdinand Thiessen2024-04-161-110/+24
| | | | | | | | | This simplifies the code a lot and fixes errors with the exisiting custom code, where slightly different base64 values were emitted which are not valid according to the standard. ref: https://github.com/web-auth/webauthn-framework/issues/510 Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(login): Clear login form (password) after IDLE timeoutFerdinand Thiessen2024-03-253-7/+128
| | | | | | | | | For security reasons it is recommended to stop the login process at a defined time, this could prevent password leaks by e.g. user forgetting that they entered their password on public devices. Enforced e.g. by the BSI ORP.4.A13 rule. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Limit email input on auth pages to 255 charsfenn-cs2024-03-212-1/+13
| | | | | | | | | Excessively long emails reported make server unresponsive. We could at some point, consider adding a configuration for sysadmins to bypass this setting on their instance if they want. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix: login page now correctly shows email LDAP settingsEduardo Morales2024-03-101-1/+16
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* fix: replace `Account name` by `Login`John Molakvoæ2024-02-133-6/+6
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: rename users to account or personVincent Petry2024-02-132-4/+4
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* fix: Show error message when CSRF check fails at loginChristoph Wurst2023-11-081-0/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix: replace non-standard autocorrect with spellcheck attributeGrigorii K. Shartsev2023-10-201-1/+1
| | | | | | `autocorrect` was actual for Safari long time ago when Safari didn't fully supported HTML 5 spellcheck. Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* chore: Migrate to new @nextcloud/vue APIChristopher Ng2023-08-293-4/+0
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Wrap long productName on login formfenn-cs2023-08-131-0/+1
| | | | | | | Resolves : https://github.com/nextcloud/server/issues/39804 Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* feat(login): Improve passwordless login boxFerdinand Thiessen2023-05-171-24/+33
| | | | | | | | * Remove wrong background of error message boxes * Use `NcTextInput` for username or mail to align with login box * Add a heading for better overview where you (as a user) are currently Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* More honest reset password request responseJosh Richards2023-04-131-3/+1
| | | | | | | | | | | | | | | | Addresses request in additional comments of #37408 * Honest but still won't leak information * Also reminds user to verify the provided user id email address/user Signed-off-by: Josh Richards <josh.t.richards@gmail.com> Refine reset password response copy Co-authored-by: Louis <6653109+artonge@users.noreply.github.com> Signed-off-by: Josh Richards <josh.t.richards@gmail.com> Wrap honest password reset request response
* chore(eslint): fix missing import extensionsJohn Molakvoæ2023-03-232-5/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Remove jstz usage from serverThomas Citharel2023-01-041-2/+1
| | | | | | | | | | | | Every proper browser has this kind of data now, with more up-to-date data than what's inside this package, which hasn't been updated in 3 years. https://github.com/pellepim/jstimezonedetect/issues/6 https://github.com/pellepim/jstimezonedetect/issues/9 Signed-off-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix default redirect on successful WebAuthn loginRichard Steinmetz2022-12-051-3/+4
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Remove old code from comment to not trigger automatic scanners more than neededJoas Schilling2022-11-291-2/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* More theming cypress tests and some fixesJohn Molakvoæ2022-11-291-3/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix warnings on login pageVincent Petry2022-11-181-2/+2
| | | | | | | | | Check for app menu container before mounting. Fix "isError" in LoginForm being a number when the throttleDelay is zero. In fact, there is no need for existence check because both undefined and null are not greater than a number. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix rendering of login headlineChristopher Ng2022-11-081-1/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix empty password string being submitted to serverChristopher Ng2022-10-131-1/+1
| | | | | | - Fix reveal password not working Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Set focus to input fieldDaniel Kesselberg2022-09-161-2/+2
| | | | | | | | Fix: - TypeError: this.$refs.user.focus is not a function - TypeError: this.$refs.password.focus is not a function Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* add a heading to the login formszaimen2022-09-121-0/+5
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* More cleaning up of the login componentCarl Schwan2022-09-063-44/+55
| | | | | | | - Move css in scopped vue components - Port to NcNoteCard all the warning messages Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Use new vue components in login formCarl Schwan2022-09-052-99/+93
| | | | | | | - Improve accessibility - Simply code Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* More dark theme fixesCarl Schwan2022-08-261-1/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add Nc prefix to Nc vue component namesVincent Petry2022-08-252-8/+8
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Bump @nextcloud/vue to 6.0.0-beta.3 and relatedVincent Petry2022-08-252-8/+8
| | | | | | | | Update @nextcloud/vue to 6.0.0-beta.3 Update vue and vue-template-compiler to 2.7.8 Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Redesign guest pages for better accessibilityCarl Schwan2022-07-272-48/+15
| | | | | | | - Use white box and put content on it - Improve focus indicator Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* LoginForm: Fix password label translation callMarcel Klehr2022-07-181-1/+1
| | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Use Button component to show password for improved accessibilityChristopher Ng2022-07-071-13/+37
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Update and fix theming imagesJohn Molakvoæ (skjnldsv)2022-04-215-54/+63
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add autocompletion for password resetCarl Schwan2021-10-222-2/+8
| | | | | | | | | | | | | | | | | | Using autocomplete="current-password" and autocomplete="new-password" will help browser with integrated password managers to generate safe password for the users. See https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/password#allowing_autocomplete. Also unify autocapitalize="none" autocorrect="off" behavior in a few other places for password input fields. Close #27885 Signed-off-by: Carl Schwan <carl@carlschwan.eu> Co-Authored-By: Julien Veyssier <eneiluj@posteo.net> Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
* Fix Login & Users settings pageJohn Molakvoæ (skjnldsv)2021-07-222-2/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update login with device page stylesChristopher Ng2021-06-211-7/+26
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Allow WebAuthn on localhost as wellMorris Jobke2021-06-171-2/+6
| | | | | | | | * browsers typically whiteliste this as well - https://developer.mozilla.org/en-US/docs/Web/API/Web_Authentication_API * for developing purposes see https://developer.chrome.com/docs/devtools/webauthn/ Signed-off-by: Morris Jobke <hey@morrisjobke.de> Signed-off-by: Louis Chemineau <louis@chmn.me>
* l10n: Unify spellingValdnet2021-05-201-1/+1
| | | Spelling unification in Nextcloud applications.
* l10n: Unify spellingValdnet2021-05-201-1/+1
| | | Spelling unification in Nextcloud applications.
* Fix password visibility toggle alt text and hover/focus feedbackJan C. Borchardt2021-04-121-1/+1
| | | | Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
* l10n: Correct spellingValdnet2021-04-091-2/+2
| | | | | | Unify the spelling in applications. Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Fix untranslated "User disabled" on login screenNina Pypchenko2020-12-161-1/+1
| | | | | | Signed-off-by: Nina Pypchenko <22447785+nina-py@users.noreply.github.com> Closes #24549.
* Fix unified searchJohn Molakvoæ (skjnldsv)2020-08-031-1/+1
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>