-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
46 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
/** | ||
* A helper file for Laravel 5, to provide autocomplete information to your IDE | ||
* Generated for Laravel 5.2.45 on 2016-10-19. | ||
* Generated for Laravel 5.2.45 on 2016-10-21. | ||
* | ||
* @author Barry vd. Heuvel <[email protected]> | ||
* @see https://github.com/barryvdh/laravel-ide-helper | ||
|
@@ -14072,6 +14072,22 @@ public static function getInstance(){ | |
} | ||
|
||
|
||
class Recaptcha extends \GreggilGreggilbert\Recaptcha\RecaptchaServiceProviderbert\Recaptcha\Facades\Recaptcha{ | ||
|
||
/** | ||
* Render the recaptcha | ||
* | ||
* @param array $options | ||
* @return \Greggilbert\Recaptcha\view | ||
* @static | ||
*/ | ||
public static function render($options = array()){ | ||
return \Greggilbert\Recaptcha\Recaptcha::render($options); | ||
} | ||
|
||
} | ||
|
||
|
||
class Html extends \Collective\Html\HtmlFacade{ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,14 +53,30 @@ public function run() | |
"affiliation_id" => 1, | ||
"email" => "[email protected]", | ||
'password' => 'admin', | ||
'nomination_limit' => 5, | ||
'nomination_limit' => 1000000, | ||
'active' => 'Y', | ||
] | ||
); | ||
|
||
$role = \App\Role::find(1); | ||
$newUser->attachRole($role); | ||
|
||
// Add test nominator account | ||
$newUser2 = App\User::create( | ||
[ | ||
'name_first' => "Nominator", | ||
'name_last' => "Account", | ||
"affiliation_id" => 2, | ||
"email" => "[email protected]", | ||
'password' => 'nomnom', | ||
'nomination_limit' => 5, | ||
'active' => 'Y', | ||
] | ||
); | ||
|
||
$role2 = \App\Role::find(2); | ||
$newUser2->attachRole($role2); | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,12 @@ You will eventually want to shut down vagrant (so you're not running a virtual m | |
|
||
## Additional Configuration | ||
|
||
### Developer Login Credentials | ||
|
||
**Username:** `[email protected]` | ||
|
||
**Password:** `admin` | ||
|
||
### Testing emails with Mailtrap.io | ||
1. Register an account with https://mailtrap.io - You can link your github account | ||
2. In your local `.env` file append the credentials and settings Mailtrap lists in your demo inbox. | ||
|
@@ -148,4 +154,4 @@ If the "S3_*" variables are filled in the ".env" file, Amazon S3 will be used in | |
} | ||
] | ||
} | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters