Thread: UNIT3D
View Single Post
  #38  
Old 6th June 2018, 15:36
HDVinnie's Avatar
HDVinnie HDVinnie is offline
BluCrew
 
Join Date: Dec 2014
P2P
Posts: 140
Default
Quote:
Originally Posted by antimidas View Post
ok so I really dig this... I'm coming from u232..... what I'm trying to figure out is how to disable email verification... I've tried nuul and 0 under 2 step.... I've not used laravel before, and really just been teaching myself php since 2016... I have a ton to learn
There is no way to turn off email verification yet. It is for now a required part of the registration process.

The TwoStep Auth your seeing in the `UNIT3D/config/auth.php` is for the TwoStep Authentication process and weather or not you want uses to be able to use it.

Code:
    
    /*
    |--------------------------------------------------------------------------
    | Verification Authentication Enabled
    |--------------------------------------------------------------------------
    */
    'TwoStepEnabled' => false,

    /*
    |--------------------------------------------------------------------------
    | Verification Email Settings
    |--------------------------------------------------------------------------
    */
    'verificationEmailFrom'     => env('MAIL_FROM_ADDRESS', env('MAIL_FROM_NAME')),
    'verificationEmailFromName' => ' 2-Step Verification',

    /*
    |--------------------------------------------------------------------------
    | Verification Timings Settings
    |--------------------------------------------------------------------------
    */
    'TwoStepExceededCount'             => 3,
    'TwoStepExceededCountdownMinutes'  => 60 * 24,
    'TwoStepVerifiedLifetimeMinutes'   => 6 * 60,
    'TwoStepTimeResetBufferSeconds'    => 6 * 60,
JFYI - true or 1 to enable, false or 0 to disable

PLEASE KEEP IN MIND THIS IS NOT GOOGLE AUTH OR AUTHY. THIS IS A HOMEBREWED 2STEPAUTH SYSTEM!

Home-brewed Two Step Auth System:

1) Ability to enable/disabled TwoStep via user profile in account settings.

2) If enabled you will receive a email like so:
Click the image to open in full size.

3) Then next login. After successfully logging in with your username and password you will be redirected to this page before gaining full access to said SITE:
Click the image to open in full size.

4) You have 4 attempts before account gets locked out. See images below:

Click the image to open in full size.

Click the image to open in full size.

Click the image to open in full size.

Click the image to open in full size.

Click the image to open in full size.

Bump:
Quote:
Originally Posted by antimidas View Post
ok so I really dig this... I'm coming from u232..... what I'm trying to figure out is how to disable email verification... I've tried nuul and 0 under 2 step.... I've not used laravel before, and really just been teaching myself php since 2016... I have a ton to learn
If you want this feature feel free to open a issue on our GitHub requesting it and it will be done.