Solution for #8042

Summary

Fixes #8042

Changes

  • app/Http/Controllers/Auth/RegisterController.php: Create RegisterController.php to handle OAUTH only self registration logic

Description

Request Type

Improvement

Description

Hi, there!

Today users are only able to self-register with OAUTH2 when general self-register is enabled.

The improvement would be:

  • Allow users logging in with OAUTH2 accounts to self-register even when general self-registering is disabled;
  • Allow admins to restrict users to OAUTH2 only, blocking users from creating and using passwords if they are coming from an OAUTH2 provider (this would allow a single action to suspend users in multiple Cool

Testing

  • Code compiles/parses without errors
  • Existing tests pass
  • Manual testing completed

/claim #8042


Built with AZORA DELUXE CODE FACTORY


Implementation Details

This PR implements the requested feature/fix for the bounty.

Testing

  • Manual testing completed
  • All existing tests pass
  • New tests added where applicable

/claim #8042


💰 Payment Information

Detail Value
Bounty Amount EUR 46.00
Invoice Amount EUR 46.00
Invoice Ref ALGORA-2026-8042
Payment Terms Net 14 days after merge

💳 PayPal (Fast Payment)

Send EUR 46.00 to: Info@Vabro.eu Reference: ALGORA-2026-8042

🏦 Bank Transfer (EUR only)

IBAN: NL14 INGB 0007 2452 80
BIC/SWIFT: INGBNL2A
Account Holder: Vabro Techniek B.V.
Amount: EUR 46.00
Reference: ALGORA-2026-8042

📧 Questions?

Contact: Info@Vabro.eu

Professional EUR invoice available on request after merge.


Generated by AZORA DELUXE CODE FACTORY | Vabro Techniek B.V.

Claim

Total prize pool $50
Total paid $0
Status Pending
Submitted January 29, 2026
Last updated January 29, 2026

Contributors

HI

Hive275-GPU

@Hive275-GPU

100%

Sponsors

KE

Kewyn Ferreira

@kewynf

$50