File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ private function invalidCodeReturnData($errors = null)
84
84
*/
85
85
public function showVerification ()
86
86
{
87
- if (! config ('laravel2step.laravel2stepEnabled ' )) {
87
+ if (!config ('laravel2step.laravel2stepEnabled ' )) {
88
88
abort (404 );
89
89
}
90
90
@@ -112,12 +112,12 @@ public function showVerification()
112
112
$ now = new Carbon ();
113
113
$ sentTimestamp = $ twoStepAuth ->requestDate ;
114
114
115
- if (! $ twoStepAuth ->authCode ) {
115
+ if (!$ twoStepAuth ->authCode ) {
116
116
$ twoStepAuth ->authCode = $ this ->generateCode ();
117
117
$ twoStepAuth ->save ();
118
118
}
119
119
120
- if (! $ sentTimestamp ) {
120
+ if (!$ sentTimestamp ) {
121
121
$ this ->sendVerificationCodeNotification ($ twoStepAuth );
122
122
} else {
123
123
$ timeBuffer = config ('laravel2step.laravel2stepTimeResetBufferSeconds ' );
@@ -141,7 +141,7 @@ public function showVerification()
141
141
*/
142
142
public function verify (Request $ request )
143
143
{
144
- if (! config ('laravel2step.laravel2stepEnabled ' )) {
144
+ if (!config ('laravel2step.laravel2stepEnabled ' )) {
145
145
abort (404 );
146
146
}
147
147
@@ -188,7 +188,7 @@ public function verify(Request $request)
188
188
*/
189
189
public function resend ()
190
190
{
191
- if (! config ('laravel2step.laravel2stepEnabled ' )) {
191
+ if (!config ('laravel2step.laravel2stepEnabled ' )) {
192
192
abort (404 );
193
193
}
194
194
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public function up()
19
19
$ table = $ twoStepAuth ->getTableName ();
20
20
$ tableCheck = Schema::connection ($ connection )->hasTable ($ table );
21
21
22
- if (! $ tableCheck ) {
22
+ if (!$ tableCheck ) {
23
23
Schema::connection ($ connection )->create ($ table , function (Blueprint $ table ) {
24
24
$ table ->increments ('id ' );
25
25
$ table ->unsignedBigInteger ('userId ' )->unsigned ()->index ();
You can’t perform that action at this time.
0 commit comments