Merge user settings page #101
@ -26,8 +26,8 @@ class SaveUserSettingsRequest extends FormRequest
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'name' => 'required|max:255',
|
'name' => 'required|max:255',
|
||||||
'email' => 'required|email|max:255|unique:users,email,' . Auth::user()->id
|
'email' => 'required|email|max:255|unique:users,email,' . Auth::user()->id,
|
||||||
// TODO include user profile alias
|
'profile_alias' => 'sometimes|max:255|unique:users,profile_alias,' . Auth::user()->id
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user