File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 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)
8484 */
8585 public function showVerification ()
8686 {
87- if (! config ('laravel2step.laravel2stepEnabled ' )) {
87+ if (!config ('laravel2step.laravel2stepEnabled ' )) {
8888 abort (404 );
8989 }
9090
@@ -112,12 +112,12 @@ public function showVerification()
112112 $ now = new Carbon ();
113113 $ sentTimestamp = $ twoStepAuth ->requestDate ;
114114
115- if (! $ twoStepAuth ->authCode ) {
115+ if (!$ twoStepAuth ->authCode ) {
116116 $ twoStepAuth ->authCode = $ this ->generateCode ();
117117 $ twoStepAuth ->save ();
118118 }
119119
120- if (! $ sentTimestamp ) {
120+ if (!$ sentTimestamp ) {
121121 $ this ->sendVerificationCodeNotification ($ twoStepAuth );
122122 } else {
123123 $ timeBuffer = config ('laravel2step.laravel2stepTimeResetBufferSeconds ' );
@@ -141,7 +141,7 @@ public function showVerification()
141141 */
142142 public function verify (Request $ request )
143143 {
144- if (! config ('laravel2step.laravel2stepEnabled ' )) {
144+ if (!config ('laravel2step.laravel2stepEnabled ' )) {
145145 abort (404 );
146146 }
147147
@@ -188,7 +188,7 @@ public function verify(Request $request)
188188 */
189189 public function resend ()
190190 {
191- if (! config ('laravel2step.laravel2stepEnabled ' )) {
191+ if (!config ('laravel2step.laravel2stepEnabled ' )) {
192192 abort (404 );
193193 }
194194
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public function up()
1919 $ table = $ twoStepAuth ->getTableName ();
2020 $ tableCheck = Schema::connection ($ connection )->hasTable ($ table );
2121
22- if (! $ tableCheck ) {
22+ if (!$ tableCheck ) {
2323 Schema::connection ($ connection )->create ($ table , function (Blueprint $ table ) {
2424 $ table ->increments ('id ' );
2525 $ table ->unsignedBigInteger ('userId ' )->unsigned ()->index ();
You can’t perform that action at this time.
0 commit comments