mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 05:53:17 +00:00
Merge pull request #413 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
db16a391cc
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ class RegisterController extends Controller
|
||||||
];
|
];
|
||||||
|
|
||||||
$rules = [
|
$rules = [
|
||||||
'name' => 'required|string|max' . config('pixelfed.max_name_length'),
|
'name' => 'required|string|max:' . config('pixelfed.max_name_length'),
|
||||||
'username' => $usernameRules,
|
'username' => $usernameRules,
|
||||||
'email' => 'required|string|email|max:255|unique:users',
|
'email' => 'required|string|email|max:255|unique:users',
|
||||||
'password' => 'required|string|min:6|confirmed',
|
'password' => 'required|string|min:6|confirmed',
|
||||||
|
|
|
@ -31,7 +31,7 @@ class SettingsController extends Controller
|
||||||
{
|
{
|
||||||
$this->validate($request, [
|
$this->validate($request, [
|
||||||
'name' => 'required|string|max:' . config('pixelfed.max_name_length'),
|
'name' => 'required|string|max:' . config('pixelfed.max_name_length'),
|
||||||
'bio' => 'nullable|string|max:' . config('pixelfed.max_bio_length')
|
'bio' => 'nullable|string|max:' . config('pixelfed.max_bio_length'),
|
||||||
'website' => 'nullable|url',
|
'website' => 'nullable|url',
|
||||||
'email' => 'nullable|email'
|
'email' => 'nullable|email'
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue