Skip to content

Conversation

@itinerare
Copy link
Member

@itinerare itinerare commented Feb 28, 2021

  • Switch from laravel/ui to laravel/fortify for authentication
  • Implement optional two-factor authentication
  • Make recaptcha toggleable via config
    • Set up honeypot on login/registration as a built-in fallback

Tested locally, though I would definitely appreciate more testing, especially around the reimplementation of password reset, email verification etc. alias registration/login. Requires composer update, migrate

@itinerare itinerare added the needs review Pull requests that are pending community review label Feb 28, 2021
@itinerare itinerare requested a review from corowne February 28, 2021 19:35
@itinerare itinerare added the enhancement New feature or request label Apr 24, 2021
@itinerare itinerare marked this pull request as draft May 3, 2021 19:43
@itinerare
Copy link
Member Author

After some more testing elsewhere email appears to work alright; as a result I think updating (for birthday entry in particular) is the only significant issue for this

@itinerare itinerare added this to the v2.1.0 milestone Nov 8, 2021
itinerare and others added 6 commits January 17, 2022 10:47
Conflicts:
	app/Http/Controllers/Auth/RegisterController.php
	app/Http/Controllers/Users/AccountController.php
	app/Models/User/User.php
	app/Services/UserService.php
	composer.json
Conflicts:
	app/Http/Controllers/Auth/LoginController.php
	app/Http/Controllers/Auth/RegisterController.php
	app/Http/Controllers/Users/AccountController.php
	app/Models/User/User.php
	app/Services/UserService.php
	composer.json
	resources/views/account/settings.blade.php
	resources/views/auth/passwords/reset.blade.php
	resources/views/auth/verify.blade.php
	routes/lorekeeper/members.php
	routes/web.php
- make recaptcha toggleable in config
- implement laravel honeypot on fortify routes
- fix resend verification email route
@itinerare
Copy link
Member Author

Updated this for birthday, etc. checking; I endeavored to not break alias registrations/login but would like more checking around that.
That said, I did squash some bugs around the standard registration flow while I was at it, as well as making recaptcha a toggleable extension (via config)... this does double-duty of making sure folk know that information needs to be set in the .env as well as making it not a hurdle in a dev environment. Since that does otherwise leave the registration and login forms vulnerable, I did at least set up the existing honeypot package for them as a fallback. That said, for some sites it may work fine to keep things under control and is a privacy-conscious option besides.

@itinerare itinerare marked this pull request as ready for review December 6, 2023 20:31
@itinerare itinerare removed the request for review from corowne December 6, 2023 20:32
Copy link
Contributor

@ScuffedNewt ScuffedNewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some notes / general clarification, nothing crazy
forgot mostly what I asked since I couldn't finalise review

@itinerare itinerare added reviewed Pull requests that have received community review and are pending merge and removed needs review Pull requests that are pending community review labels Dec 11, 2023
@itinerare itinerare merged commit 4e07b2e into lk-arpg:develop Dec 11, 2023
@itinerare itinerare deleted the feature/two-factor-auth branch December 11, 2023 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request reviewed Pull requests that have received community review and are pending merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants