Passed
Push — master ( 1dbfa0...aaaee4 )
by Mihail
07:38
created
Apps/Controller/Front/User.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             App::$Session->getFlashBag()->add('error', __('User is never exist or password is incorrect!'));
54 54
             // initialize fail event
55 55
             App::$Event->run(static::EVENT_USER_LOGIN_FAIL, [
56
-               'model' => $loginForm 
56
+                'model' => $loginForm 
57 57
             ]);
58 58
         }
59 59
 
@@ -113,14 +113,14 @@  discard block
 block discarded – undo
113 113
             if ($registerForm->tryRegister($configs['registrationType'] === 1)) {
114 114
                 // initialize succes signup event
115 115
                 App::$Event->run(static::EVENT_USER_REGISTER_SUCCESS, [
116
-                   'model' => $registerForm 
116
+                    'model' => $registerForm 
117 117
                 ]);
118 118
                 // send notification of successful registering
119 119
                 App::$Session->getFlashBag()->add('success', __('Your account is registered. You must confirm account via email'));
120 120
             } else {
121 121
                 // init fail signup event
122 122
                 App::$Event->run(static::EVENT_USER_REGISTER_FAIL, [
123
-                   'model' => $registerForm 
123
+                    'model' => $registerForm 
124 124
                 ]);
125 125
                 App::$Session->getFlashBag()->add('error', __('Login or email is always used on website'));
126 126
             }
Please login to merge, or discard this patch.