Skip to content

Commit 46afc0c

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents cd8ebbd + dfa5d1c commit 46afc0c

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

app/commands/AppCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ protected function askUserPassword()
187187
do
188188
{
189189
// Ask the user to input the user password
190-
$password = $this->ask('Please enter your user password: ');
190+
$password = $this->ask('Please enter your user password (at least 8 characters): ');
191191

192192
// Check if email is valid
193193
if ($password == '')

app/controllers/AuthController.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function postSignin()
2929
// Declare the rules for the form validation
3030
$rules = array(
3131
'email' => 'required|email',
32-
'password' => 'required|between:8,32',
32+
'password' => 'required',
3333
);
3434

3535
// Create a new validator instance from our validation rules
@@ -103,8 +103,8 @@ public function postSignup()
103103
{
104104
// Declare the rules for the form validation
105105
$rules = array(
106-
'first_name' => 'required|min:3',
107-
'last_name' => 'required|min:3',
106+
'first_name' => 'required|min:2',
107+
'last_name' => 'required|min:2',
108108
'email' => 'required|email|unique:users',
109109
'email_confirm' => 'required|email|same:email',
110110
'password' => 'required|between:8,32',
@@ -289,7 +289,7 @@ public function postForgotPasswordConfirm($passwordResetCode = null)
289289
{
290290
// Declare the rules for the form validation
291291
$rules = array(
292-
'password' => 'required',
292+
'password' => 'required|between:8,32',
293293
'password_confirm' => 'required|same:password'
294294
);
295295

app/lang/en/auth/message.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
return array(
44

5-
'account_already_exists' => 'An account with the provided email, already exists.',
6-
'account_not_found' => 'This user account was not found.',
5+
'account_already_exists' => 'An account with the this email already exists.',
6+
'account_not_found' => 'The email account or password is incorrect.',
77
'account_not_activated' => 'This user account is not activated.',
88
'account_suspended' => 'This user account is suspended.',
99
'account_banned' => 'This user account is banned.',
@@ -27,7 +27,7 @@
2727
'error' => 'There was a problem while trying to reset your password, please try again.',
2828
'success' => 'Your password has been successfully reset.',
2929
),
30-
30+
3131
'activate' => array(
3232
'error' => 'There was a problem while trying to activate your account, please try again.',
3333
'success' => 'Your account has been successfully activated.',

app/views/backend/users/view.blade.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@
141141
<a href="{{ route('view/hardware', $log->asset_id) }}">{{ $log->assetlog->asset_tag }}</a>
142142
@elseif ((isset($log->assetlog->name)) && ($log->assetlog->deleted_at!=''))
143143
<del>{{ $log->assetlog->name }}</del> (deleted)
144-
@else
145-
missing asset ({{ $log->assetlog->name }}) ({{ $log->assetlog->deleted_at }})
146144
@endif
147145
</td>
148146
<td>{{ $log->adminlog->fullName() }}</td>

0 commit comments

Comments
 (0)