Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
How to Signup without Emails
  • How can I signup using FuelPHP Auth but without using emails?
  • HarroHarro
    Accepted Answer
    You'll have to extend the SimpleAuth driver and make the email address optional.
  • How do I extend the SimpleAuth driver?
  • HarroHarro
    Accepted Answer
    See the docs, under classes, extending core. It works the same for classes in packages that are aliased to the global name, like Auth.

    In short:
    - make sure that the Auth package is 'always_load'ed
    - create a class called Simpleauth in app/classes (or a subfolder), that extends \Auth\Login\Simpleauth
    - add the new class to the app bootstrap
    - get a beer

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion